From 7efb6f34fd2a35406dd55873fff78ac875896781 Mon Sep 17 00:00:00 2001 From: Oscar J Rodriguez Date: Tue, 9 May 2023 00:05:00 -0700 Subject: [PATCH] adding missing argument on a printer --- handlers/health/healthHandlers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/health/healthHandlers.go b/handlers/health/healthHandlers.go index 7e054da..81d0525 100644 --- a/handlers/health/healthHandlers.go +++ b/handlers/health/healthHandlers.go @@ -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") } -- 2.25.1