Compare commits

...

1 Commits

Author SHA1 Message Date
f9331deec1 consul debug 2023-07-02 01:46:11 +02:00

View File

@@ -138,6 +138,7 @@ func (s *Service) healthCheck() (bool, error) {
fmt.Printf("Sending HEALTH CHECK request to: %s\n", healthUrl)
resp, err := client.Do(req)
if err != nil {
fmt.Printf("Sending HEALTH CHECK request error: %v\n", err)
return false
}
defer resp.Body.Close()