mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 22:53:22 +00:00
Ignore deprecation warnings with //nolint:staticcheck
This commit is contained in:
@@ -624,6 +624,7 @@ func serveMetrics(bindAddress, proxyMode string, enableProfiling bool, errCh cha
|
||||
})
|
||||
|
||||
//lint:ignore SA1019 See the Metrics Stability Migration KEP
|
||||
//nolint:staticcheck
|
||||
proxyMux.Handle("/metrics", legacyregistry.Handler())
|
||||
|
||||
if enableProfiling {
|
||||
|
Reference in New Issue
Block a user