consul connect fixing

This commit is contained in:
Piotr Biernat 2023-07-04 00:02:23 +02:00
parent 9cb590bf7a
commit 54e4006d0d

View File

@ -72,9 +72,9 @@ func (s *Service) Register() error {
Port: s.port,
Tags: s.getTags(),
Connect: &consul.AgentServiceConnect{
SidecarService: &consul.AgentServiceRegistration{
// Port: s.port,
},
// SidecarService: &consul.AgentServiceRegistration{
// Port: s.port,
// },
},
Check: &consul.AgentServiceCheck{
TTL: s.ttl.String(),