return standardized text for ready and health endpoint (#3195)
This commit is contained in:
parent
dd8238ba9b
commit
9fe7fb95c6
4 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue