adding missing argument on a printer
authorOscar J Rodriguez <jrpc@google.com>
Tue, 9 May 2023 07:05:00 +0000 (00:05 -0700)
committerOscar J Rodriguez <jrpc@google.com>
Tue, 9 May 2023 07:05:00 +0000 (00:05 -0700)
handlers/health/healthHandlers.go

index 7e054da0cbb3248b568026438f35b4087d0b25f8..81d0525d54a08e05ae7f3b3159d406b6d6f535f1 100644 (file)
@@ -17,5 +17,6 @@ import (
 // the special agent that each of them will already have installed in order to
 // connect to the cluster.
 func MasterHealthHandler(w http.ResponseWriter, r *http.Request) {
-       fmt.Fprintf("Ëverything should be okay my boi")
+       w.WriteHeader(http.StatusOK)
+       fmt.Fprintf(w, "Ëverything should be okay my boi")
 }