projects
/
VSCPweb
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
4d4b504
)
Merge branch 'master' of github.com:josuer08/vscpweb
author
Oscar J Rodriguez
<jrpc@google.com>
Tue, 9 May 2023 07:06:27 +0000
(
00:06
-0700)
committer
Oscar J Rodriguez
<jrpc@google.com>
Tue, 9 May 2023 07:06:27 +0000
(
00:06
-0700)
normal merger because of small change
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")
}