Commit 73f12183 authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

Merge pull request #29370 from ping035627/ping035627-patch-0721-2

Automatic merge from submit-queue add configz.InstallHandler in controllermanager.go I think it should add configz.InstallHandler for Run function in controllermanager.go.
parents 9e5d5628 2dae79c1
...@@ -144,6 +144,7 @@ func Run(s *options.CMServer) error { ...@@ -144,6 +144,7 @@ func Run(s *options.CMServer) error {
mux.HandleFunc("/debug/pprof/profile", pprof.Profile) mux.HandleFunc("/debug/pprof/profile", pprof.Profile)
mux.HandleFunc("/debug/pprof/symbol", pprof.Symbol) mux.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
} }
configz.InstallHandler(mux)
mux.Handle("/metrics", prometheus.Handler()) mux.Handle("/metrics", prometheus.Handler())
server := &http.Server{ server := &http.Server{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment