register fix
This commit is contained in:
parent
48a7e968d1
commit
ba6bd4137c
@ -122,6 +122,8 @@ func (s *Service) getMetadata() map[string]string {
|
|||||||
m := map[string]string{}
|
m := map[string]string{}
|
||||||
m["traefik/http/services/"+s.Name+"/loadBalancer/servers/0/url"] = s.GetFullAddr()
|
m["traefik/http/services/"+s.Name+"/loadBalancer/servers/0/url"] = s.GetFullAddr()
|
||||||
|
|
||||||
|
fmt.Printf("netadata: %v", m)
|
||||||
|
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user