From 6f875cbb94d9ac3831bd821c58d96adf27a1780e Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sun, 2 Jul 2023 22:24:55 +0200 Subject: [PATCH] consul register as sidecar_service --- consul/discovery.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consul/discovery.go b/consul/discovery.go index 164c503..d8e7d56 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -71,6 +71,7 @@ func (s *Service) Register() error { Address: s.Address, Port: s.port, Tags: s.getTags(), + Connect: &consul.AgentServiceConnect{}, Check: &consul.AgentServiceCheck{ TTL: s.ttl.String(), Status: "passing",