From 8394feaec7a8ff3fd6decf3365cebaed17e60159 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Tue, 24 Dec 2024 17:51:02 +0100 Subject: [PATCH] Debug update --- consul/discovery.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/consul/discovery.go b/consul/discovery.go index c1c7d87..e418054 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -2,6 +2,7 @@ package consul import ( "fmt" + "log" "net/http" "strconv" "time" @@ -60,6 +61,7 @@ func NewService(servAddr, id, name, useDomainOverIp, addr, domain, pathPrefix st func newClientConfig(serverAddr string) *consul.Config { conf := consul.DefaultConfig() + log.Printf("Setting consul server addr: %s", serverAddr) conf.Address = serverAddr return conf