diff --git a/pkg/healthz/healthz.go b/pkg/healthz/healthz.go index 1f71bb88579..7671fed52c9 100644 --- a/pkg/healthz/healthz.go +++ b/pkg/healthz/healthz.go @@ -30,6 +30,7 @@ func handleHealthz(w http.ResponseWriter, r *http.Request) { w.Write([]byte("ok")) } +// InstallHandler registers a handler for health checking on the path "/healthz" to mux. func InstallHandler(mux *http.ServeMux) { mux.HandleFunc("/healthz", handleHealthz) }