consul register fix

This commit is contained in:
Piotr Biernat 2023-07-04 18:46:00 +02:00
parent dad915f2ec
commit c177133daf

View File

@ -77,6 +77,9 @@ func (s *Service) Register() error {
// Port: s.port,
// },
},
Proxy: &consul.AgentServiceConnectProxyConfig{
DestinationServiceName: s.Name,
},
Check: &consul.AgentServiceCheck{
TTL: s.ttl.String(),
Status: "passing",