From ba6bd4137c84220569c278ca8805d10aa02aed2b Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Thu, 1 Dec 2022 20:19:28 +0100 Subject: [PATCH] register fix --- consul/discovery.go | 2 ++ 1 file changed, 2 insertions(+) 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 }