projects
/
VSCPweb
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a49b19e
)
adding missing argument on a printer
author
Oscar J Rodriguez
<jrpc@google.com>
Tue, 9 May 2023 07:05:00 +0000
(
00:05
-0700)
committer
Oscar J Rodriguez
<jrpc@google.com>
Tue, 9 May 2023 07:05:00 +0000
(
00:05
-0700)
handlers/health/healthHandlers.go
patch
|
blob
|
history
diff --git
a/handlers/health/healthHandlers.go
b/handlers/health/healthHandlers.go
index 7e054da0cbb3248b568026438f35b4087d0b25f8..81d0525d54a08e05ae7f3b3159d406b6d6f535f1 100644
(file)
--- 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")
}