mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
remove unused code
Change-Id: Id46edb8bbcd043288a4c38692dcf99dd6d34fa1c
This commit is contained in:
parent
1b74ea0f29
commit
3cad84b347
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user