mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 12:46:06 +00:00
remove unused code
Change-Id: Id46edb8bbcd043288a4c38692dcf99dd6d34fa1c
This commit is contained in:
@@ -89,14 +89,6 @@ func (r *lazyMetric) lazyInit(self kubeCollector, fqName string) {
|
|||||||
r.self = self
|
r.self = self
|
||||||
}
|
}
|
||||||
|
|
||||||
func stabilityLevelOrDefault(sl string) string {
|
|
||||||
if sl == "" {
|
|
||||||
return string(INTERNAL)
|
|
||||||
} else {
|
|
||||||
return sl
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// preprocessMetric figures out whether the lazy metric should be hidden or not.
|
// preprocessMetric figures out whether the lazy metric should be hidden or not.
|
||||||
// This method takes a Version argument which should be the version of the binary in which
|
// This method takes a Version argument which should be the version of the binary in which
|
||||||
// this code is currently being executed. A metric can be hidden under two conditions:
|
// this code is currently being executed. A metric can be hidden under two conditions:
|
||||||
|
Reference in New Issue
Block a user