remove unused code

Change-Id: Id46edb8bbcd043288a4c38692dcf99dd6d34fa1c
This commit is contained in:
Han Kang 2022-10-06 17:13:41 -07:00
parent 1b74ea0f29
commit 3cad84b347

View File

@ -89,14 +89,6 @@ func (r *lazyMetric) lazyInit(self kubeCollector, fqName string) {
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.
// 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: