diff --git a/consul/discovery.go b/consul/discovery.go index c9615e9..6a0fae7 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -73,9 +73,9 @@ func (s *Service) Register() error { Port: s.port, Tags: s.getTags(), Connect: &consul.AgentServiceConnect{ - // SidecarService: &consul.AgentServiceRegistration{ - // Port: s.port, - // }, + SidecarService: &consul.AgentServiceRegistration{ + // Port: s.port, + }, }, // Proxy: &consul.AgentServiceConnectProxyConfig{ // DestinationServiceName: s.Name + "dupa",