This commit is contained in:
Piotr Biernat 2023-06-29 15:59:27 +02:00
parent a1870e07b5
commit 7bbc717786

View File

@ -134,6 +134,10 @@ func (s *Service) healthCheck() (bool, error) {
}
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
}()