consul debug
This commit is contained in:
parent
c29bb94c3d
commit
f9331deec1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user