Consul debug
This commit is contained in:
parent
3d8c706835
commit
90e832af61
@ -129,7 +129,7 @@ func (s *Service) healthCheck() (bool, error) {
|
|||||||
}
|
}
|
||||||
defer resp.Body.Close()
|
defer resp.Body.Close()
|
||||||
|
|
||||||
fmt.Printf("ResponseCODE: %s\n", resp.StatusCode)
|
fmt.Printf("ResponseCODE: %v\n", resp.StatusCode)
|
||||||
return resp.StatusCode == http.StatusOK
|
return resp.StatusCode == http.StatusOK
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user