From 54e4006d0d902e5df8183906f6dda42f3d80ad89 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Tue, 4 Jul 2023 00:02:23 +0200 Subject: [PATCH] consul connect fixing --- consul/discovery.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/consul/discovery.go b/consul/discovery.go index 379a83c..590ebb1 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -72,9 +72,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, + // }, }, Check: &consul.AgentServiceCheck{ TTL: s.ttl.String(),