consul register fix

This commit is contained in:
Piotr Biernat 2023-07-04 18:54:12 +02:00
parent c177133daf
commit 1d75153698

View File

@ -78,7 +78,7 @@ func (s *Service) Register() error {
// }, // },
}, },
Proxy: &consul.AgentServiceConnectProxyConfig{ Proxy: &consul.AgentServiceConnectProxyConfig{
DestinationServiceName: s.Name, DestinationServiceName: s.Name + "dupa",
}, },
Check: &consul.AgentServiceCheck{ Check: &consul.AgentServiceCheck{
TTL: s.ttl.String(), TTL: s.ttl.String(),