Merge pull request #106291 from sbs2001/fix_invalid_comment

Remove invalid comment in legacyregistry
This commit is contained in:
Kubernetes Prow Robot
2021-12-09 19:03:10 -08:00
committed by GitHub
5 changed files with 0 additions and 7 deletions

View File

@@ -623,7 +623,6 @@ func serveMetrics(bindAddress, proxyMode string, enableProfiling bool, errCh cha
fmt.Fprintf(w, "%s", proxyMode)
})
//nolint:staticcheck // SA1019 See the Metrics Stability Migration KEP
proxyMux.Handle("/metrics", legacyregistry.Handler())
if enableProfiling {