aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTy Davis <tydavis@gmail.com>2016-06-01 20:00:04 -0700
committerTy Davis <tydavis@gmail.com>2016-06-01 20:00:04 -0700
commit0ff32223a8856a70c4113420baf284f97a9c719e (patch)
treea6f9b6cc27049c3c5a631e350365951873b8d8be
parentbdba9b1c2ddce1f0fc5d71d65b360dcfb48df6d6 (diff)
downloadshow-readiness-0ff32223a8856a70c4113420baf284f97a9c719e.tar.gz
show-readiness-0ff32223a8856a70c4113420baf284f97a9c719e.zip
Add response text to value mods
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 76460f3..0acd700 100644
--- a/main.go
+++ b/main.go
@@ -36,12 +36,12 @@ func killMe(w http.ResponseWriter, r *http.Request) {
func readinessCheck(w http.ResponseWriter, r *http.Request) {
w.Header().Set("responding-pod", hostname)
- http.Error(w, "", ReadyValue)
+ http.Error(w, "Responding with ReadyValue", ReadyValue)
}
func livenessCheck(w http.ResponseWriter, r *http.Request) {
w.Header().Set("responding-pod", hostname)
- http.Error(w, "", LiveValue)
+ http.Error(w, "Responding with LiveValue", LiveValue)
}
func rootHandler(w http.ResponseWriter, r *http.Request) {