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, Port: s.port,
Tags: s.getTags(), Tags: s.getTags(),
Connect: &consul.AgentServiceConnect{ Connect: &consul.AgentServiceConnect{
SidecarService: &consul.AgentServiceRegistration{ // SidecarService: &consul.AgentServiceRegistration{
// Port: s.port, // Port: s.port,
}, // },
}, },
Check: &consul.AgentServiceCheck{ Check: &consul.AgentServiceCheck{
TTL: s.ttl.String(), TTL: s.ttl.String(),