From 1395b0fbf0b3b0e4980675613d441d1b889622cc Mon Sep 17 00:00:00 2001 From: "Yuki Sonoda (Yugui)" Date: Wed, 16 Jul 2014 21:55:39 +0900 Subject: [PATCH] Fixes golint errors in pkg/healthz --- pkg/healthz/healthz.go | 1 + 1 file changed, 1 insertion(+) 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) }