From 90e832af618495a14074aca980bce696ee9c3a56 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 28 Jun 2023 23:52:34 +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 74d9003..98b04a0 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: %s\n", resp.StatusCode) + fmt.Printf("ResponseCODE: %v\n", resp.StatusCode) return resp.StatusCode == http.StatusOK }()