From a48463f100da8291fbaf7e2a2b023c00dbc2876e Mon Sep 17 00:00:00 2001 From: James Phillips Date: Wed, 17 Aug 2016 17:54:09 -0700 Subject: [PATCH] Removed bad error message for health check status. --- command/agent/agent_endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/agent_endpoint.go b/command/agent/agent_endpoint.go index 2e8fdfe273..db33256af2 100644 --- a/command/agent/agent_endpoint.go +++ b/command/agent/agent_endpoint.go @@ -273,7 +273,7 @@ func (s *HTTPServer) AgentRegisterService(resp http.ResponseWriter, req *http.Re for _, check := range chkTypes { if check.Status != "" && !structs.ValidStatus(check.Status) { resp.WriteHeader(400) - resp.Write([]byte("Status for checks must 'passing', 'warning', 'critical', 'unknown'")) + resp.Write([]byte("Status for checks must 'passing', 'warning', 'critical'")) return nil, nil } if !check.Valid() {