Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7bbc717786 |
@@ -134,6 +134,10 @@ func (s *Service) healthCheck() (bool, error) {
|
|||||||
}
|
}
|
||||||
defer resp.Body.Close()
|
defer resp.Body.Close()
|
||||||
|
|
||||||
|
var body []byte
|
||||||
|
resp.Body.Read(body)
|
||||||
|
fmt.Printf("HEALTH CHECK response to: %v -- %v\n", resp, body)
|
||||||
|
|
||||||
return resp.StatusCode == http.StatusOK
|
return resp.StatusCode == http.StatusOK
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user