diff --git a/consul/discovery.go b/consul/discovery.go index ec3f219..413b371 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -122,6 +122,8 @@ func (s *Service) getMetadata() map[string]string { m := map[string]string{} m["traefik/http/services/"+s.Name+"/loadBalancer/servers/0/url"] = s.GetFullAddr() + fmt.Printf("netadata: %v", m) + return m }