From 2aeaf35c41b6a32e458f6dfa0f24bde9409b981a 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 2e8fdfe27..db33256af 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() {