mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-19 08:54:44 +00:00
Fixes golint errors in pkg/healthz
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user