mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 02:03:13 -05:00
return standardized text for ready and health endpoint (#3195)
This commit is contained in:
@@ -31,7 +31,7 @@ func TestHealth(t *testing.T) {
|
||||
}
|
||||
response.Body.Close()
|
||||
|
||||
if string(content) != "OK" {
|
||||
if string(content) != http.StatusText(http.StatusOK) {
|
||||
t.Errorf("Invalid response body: expecting 'OK', got '%s'", string(content))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user