consul register as sidecar_service fix

This commit is contained in:
Piotr Biernat 2023-07-03 00:36:07 +02:00
parent 70c41dab96
commit 9cb590bf7a

View File

@ -73,7 +73,7 @@ func (s *Service) Register() error {
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{