diff options
author | Igor Wiedler <iwiedler@gitlab.com> | 2020-04-28 22:31:28 +0300 |
---|---|---|
committer | Igor Wiedler <iwiedler@gitlab.com> | 2020-04-28 22:31:28 +0300 |
commit | d5ea3244bf7b8d86be20c30ec2693d9aee9017b9 (patch) | |
tree | c7b6429ef0d9f03694a6535980b3776882ad1832 /app.go | |
parent | ef580296e32c973655791371443175d1aa3c8f9d (diff) |
add newline to /readiness success response
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ func (a *theApp) ServeTLS(ch *tls.ClientHelloInfo) (*tls.Certificate, error) { func (a *theApp) healthCheck(w http.ResponseWriter, r *http.Request, https bool) { if a.isReady() { - w.Write([]byte("success")) + w.Write([]byte("success\n")) } else { http.Error(w, "not yet ready", http.StatusServiceUnavailable) } |