From 70c41dab96cbc1169a14248d06366b3ffda3ec4d Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sun, 2 Jul 2023 23:04:26 +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 63c0be1..6847603 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -74,7 +74,7 @@ func (s *Service) Register() error { Connect: &consul.AgentServiceConnect{ SidecarService: &consul.AgentServiceRegistration{ Port: s.port, - } + }, }, Check: &consul.AgentServiceCheck{ TTL: s.ttl.String(),