diff --git a/consul/discovery.go b/consul/discovery.go index d8e7d56..872f6ff 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -71,7 +71,7 @@ func (s *Service) Register() error { Address: s.Address, Port: s.port, Tags: s.getTags(), - Connect: &consul.AgentServiceConnect{}, + Connect: &consul.AgentServiceConnect{SidecarService: &consul.AgentServiceRegistration{}}, Check: &consul.AgentServiceCheck{ TTL: s.ttl.String(), Status: "passing",