diff --git a/consul/discovery.go b/consul/discovery.go index 74d9003..98b04a0 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -129,7 +129,7 @@ func (s *Service) healthCheck() (bool, error) { } defer resp.Body.Close() - fmt.Printf("ResponseCODE: %s\n", resp.StatusCode) + fmt.Printf("ResponseCODE: %v\n", resp.StatusCode) return resp.StatusCode == http.StatusOK }()