From 9cb590bf7ae14c5d3cf4277f62ee8761e7f445cc Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Mon, 3 Jul 2023 00:36:07 +0200 Subject: [PATCH] consul register as sidecar_service fix --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 6847603..379a83c 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -73,7 +73,7 @@ func (s *Service) Register() error { Tags: s.getTags(), Connect: &consul.AgentServiceConnect{ SidecarService: &consul.AgentServiceRegistration{ - Port: s.port, + // Port: s.port, }, }, Check: &consul.AgentServiceCheck{