mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
return standardized text for ready and health endpoint (#3195)
This commit is contained in:
@@ -110,7 +110,7 @@ func TestReloadMetricsHealth(t *testing.T) {
|
||||
}
|
||||
ok, _ := ioutil.ReadAll(resp.Body)
|
||||
resp.Body.Close()
|
||||
if string(ok) != "OK" {
|
||||
if string(ok) != http.StatusText(http.StatusOK) {
|
||||
t.Errorf("Failed to receive OK, got %s", ok)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user