mirror of
https://github.com/coredns/coredns.git
synced 2025-12-06 10:25:10 -05:00
return standardized text for ready and health endpoint (#3195)
This commit is contained in:
@@ -45,7 +45,7 @@ func (rd *ready) onStartup() error {
|
||||
ok, todo := plugins.Ready()
|
||||
if ok {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
io.WriteString(w, "OK")
|
||||
io.WriteString(w, http.StatusText(http.StatusOK))
|
||||
return
|
||||
}
|
||||
log.Infof("Still waiting on: %q", todo)
|
||||
|
||||
Reference in New Issue
Block a user