register fix

This commit is contained in:
Piotr Biernat 2022-12-01 20:28:23 +01:00
parent 5bf58aad16
commit a4f4b6e059

View File

@ -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)