From f8a1ae841d036f3b8b44069b94d925b936a05452 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Thu, 6 Jul 2023 21:49:12 +0200 Subject: [PATCH] register fix 2 --- consul/discovery.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/consul/discovery.go b/consul/discovery.go index 8c706d2..ec65760 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -72,14 +72,14 @@ func (s *Service) Register() error { Address: s.Address, Port: s.port, Tags: s.getTags(), - Connect: &consul.AgentServiceConnect{ - SidecarService: &consul.AgentServiceRegistration{ - // Port: s.port, - }, - }, - Proxy: &consul.AgentServiceConnectProxyConfig{ - DestinationServiceName: s.Name, - }, + // Connect: &consul.AgentServiceConnect{ + // SidecarService: &consul.AgentServiceRegistration{ + // Port: s.port, + // }, + // }, + // Proxy: &consul.AgentServiceConnectProxyConfig{ + // DestinationServiceName: s.Name, + // }, Check: &consul.AgentServiceCheck{ TTL: s.ttl.String(), Status: "passing",