From 045dd23a7643a653593d44bc772452c5d71172ea Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Thu, 29 Jun 2023 00:03:06 +0200 Subject: [PATCH] Consul debug --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 98b04a0..9d263c4 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -129,7 +129,7 @@ func (s *Service) healthCheck() (bool, error) { } defer resp.Body.Close() - fmt.Printf("ResponseCODE: %v\n", resp.StatusCode) + fmt.Printf("ResponseCODE: %v -- %v\n", req, resp) return resp.StatusCode == http.StatusOK }()