diff --git a/consul/discovery.go b/consul/discovery.go index 20499b0..f014778 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -120,7 +120,7 @@ func (s *Service) check() (bool, error) { func (s *Service) getMetadata() map[string]string { m := map[string]string{} - key := fmt.Sprintf("traefik/http/services/%s/loadBalancer/servers/0/url", s.Name) + key := fmt.Sprintf(`traefik/http/services/%s/loadBalancer/servers/0/url`, s.Name) m[key] = s.GetFullAddr() fmt.Printf("netadata: %v", m)