Consul update
This commit is contained in:
parent
43574a1d1c
commit
7bd8f754d8
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user