diff options
author | 2019-08-26 18:31:24 +0800 | |
---|---|---|
committer | 2019-08-26 10:31:24 +0000 | |
commit | 9fe7fb95c646dfa95b14a5aef44ca4588c9ea8c0 (patch) | |
tree | e9c36abb03d680f0052a7edbdce4a91f687c00d3 /test | |
parent | dd8238ba9bbdba5accd7237e09b60e5438065f56 (diff) | |
download | coredns-9fe7fb95c646dfa95b14a5aef44ca4588c9ea8c0.tar.gz coredns-9fe7fb95c646dfa95b14a5aef44ca4588c9ea8c0.tar.zst coredns-9fe7fb95c646dfa95b14a5aef44ca4588c9ea8c0.zip |
return standardized text for ready and health endpoint (#3195)
Diffstat (limited to 'test')
-rw-r--r-- | test/reload_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/reload_test.go b/test/reload_test.go index e026a97ce..f17a85b05 100644 --- a/test/reload_test.go +++ b/test/reload_test.go @@ -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) } |