From 43c8dd3ad038825f8bd4324c93fde1c41c04ce39 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Thu, 29 Jun 2023 15:24:59 +0200 Subject: [PATCH] Debug --- consul/discovery.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consul/discovery.go b/consul/discovery.go index ef63f96..2481b49 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -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