consul register as sidecar_service fix

This commit is contained in:
Piotr Biernat 2023-07-02 23:04:26 +02:00
parent 99ac0a83c6
commit 70c41dab96

View File

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