This commit is contained in:
Piotr Biernat 2023-06-29 15:24:59 +02:00
parent e57e43188c
commit 43c8dd3ad0

View File

@ -127,6 +127,7 @@ func (s *Service) healthCheck() (bool, error) {
}
req.Header.Set("User-Agent", "service/internal")
fmt.Printf("Sending HEALTH CHECK request to: %s", healthUrl)
resp, err := client.Do(req)
if err != nil {
return false