Consul update

This commit is contained in:
Piotr Biernat 2024-12-24 18:10:41 +01:00
parent 43574a1d1c
commit 7bd8f754d8

View File

@ -46,6 +46,7 @@ func NewService(servAddr, id, name, useDomainOverIp, addr, domain, pathPrefix st
if useDomainOverIp == "true" { // FIXME types...
s.Address = domain
}
log.Printf("Init consul with server addr: %s", s.Address)
client, err := consul.NewClient(newClientConfig(servAddr))
if err != nil {