From ea7f98f8bb5e4b6f229995b91cd5c87a646433fa Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 5 Jul 2023 22:45:12 +0200 Subject: [PATCH] register fix --- consul/discovery.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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",