diff options
author | Ty Davis <tydavis@gmail.com> | 2016-06-01 20:00:04 -0700 |
---|---|---|
committer | Ty Davis <tydavis@gmail.com> | 2016-06-01 20:00:04 -0700 |
commit | 0ff32223a8856a70c4113420baf284f97a9c719e (patch) | |
tree | a6f9b6cc27049c3c5a631e350365951873b8d8be | |
parent | bdba9b1c2ddce1f0fc5d71d65b360dcfb48df6d6 (diff) | |
download | show-readiness-0ff32223a8856a70c4113420baf284f97a9c719e.tar.gz show-readiness-0ff32223a8856a70c4113420baf284f97a9c719e.zip |
Add response text to value mods
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |