register fix
This commit is contained in:
parent
5bf58aad16
commit
a4f4b6e059
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user