Compare commits

...

1 Commits

Author SHA1 Message Date
045dd23a76 Consul debug 2023-06-29 00:03:06 +02:00

View File

@@ -129,7 +129,7 @@ func (s *Service) healthCheck() (bool, error) {
} }
defer resp.Body.Close() defer resp.Body.Close()
fmt.Printf("ResponseCODE: %v\n", resp.StatusCode) fmt.Printf("ResponseCODE: %v -- %v\n", req, resp)
return resp.StatusCode == http.StatusOK return resp.StatusCode == http.StatusOK
}() }()