Fix a static check failure in controller-manager

This commit is contained in:
Muneyuki Noguchi 2019-08-30 15:45:34 +00:00
parent e176e47719
commit 9f19665eb6
2 changed files with 1 additions and 1 deletions

View File

@ -63,6 +63,7 @@ func NewBaseHandler(c *componentbaseconfig.DebuggingConfiguration, checks ...hea
} }
} }
configz.InstallHandler(mux) configz.InstallHandler(mux)
//lint:ignore SA1019 See the Metrics Stability Migration KEP
mux.Handle("/metrics", legacyregistry.Handler()) mux.Handle("/metrics", legacyregistry.Handler())
return mux return mux

View File

@ -1,6 +1,5 @@
cluster/images/etcd-version-monitor cluster/images/etcd-version-monitor
cluster/images/etcd/migrate cluster/images/etcd/migrate
cmd/controller-manager/app
cmd/kube-controller-manager/app cmd/kube-controller-manager/app
cmd/kube-proxy/app cmd/kube-proxy/app
cmd/kube-scheduler/app cmd/kube-scheduler/app