Skip to content
Permalink
Browse files

Merge pull request #85402 from RainbowMango/pr_remove_metrics_hidden_log

Remove metric be hidden log temporarily
  • Loading branch information
k8s-ci-robot committed Nov 22, 2019
2 parents 3c5dad6 + c22ffa2 commit d87c921a516a5b0387269910cef8551fae62de7f
@@ -119,7 +119,8 @@ func (d *Desc) determineDeprecationStatus(version semver.Version) {
return
}
if shouldHide(&version, selfVersion) {
klog.Warningf("This metric(%s) has been deprecated for more than one release, hiding.", d.fqName)
// TODO(RainbowMango): Remove this log temporarily. https://github.com/kubernetes/kubernetes/issues/85369
// klog.Warningf("This metric(%s) has been deprecated for more than one release, hiding.", d.fqName)
d.isHidden = true
}
})
@@ -102,7 +102,8 @@ func (r *lazyMetric) determineDeprecationStatus(version semver.Version) {
return
}
if shouldHide(&version, selfVersion) {
klog.Warningf("This metric has been deprecated for more than one release, hiding.")
// TODO(RainbowMango): Remove this log temporarily. https://github.com/kubernetes/kubernetes/issues/85369
// klog.Warningf("This metric has been deprecated for more than one release, hiding.")
r.isHidden = true
}
})

0 comments on commit d87c921

Please sign in to comment.
You can’t perform that action at this time.