adding missing argument on a printer
[VSCPweb/.git] / 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")
 }