Blob Blame History Raw
diff -up compose-on-kubernetes-0.4.23/cmd/compose-controller/main.go.fix_healthz compose-on-kubernetes-0.4.23/cmd/compose-controller/main.go
--- compose-on-kubernetes-0.4.23/cmd/compose-controller/main.go.fix_healthz	2019-06-05 13:28:02.000000000 +0200
+++ compose-on-kubernetes-0.4.23/cmd/compose-controller/main.go	2019-07-09 23:01:24.813324194 +0200
@@ -153,7 +153,7 @@ func start(opts *controllerOptions) erro
 	log.Infof("Controller ready")
 
 	if opts.healthzCheckPort > 0 {
-		healthz.DefaultHealthz()
+		healthz.InstallHandler(http.DefaultServeMux)
 		go http.ListenAndServe(fmt.Sprintf(":%d", opts.healthzCheckPort), nil)
 	}
 	<-stop