register fix 2

This commit is contained in:
Piotr Biernat 2023-07-05 23:35:17 +02:00
parent ea7f98f8bb
commit 4bedc5d926

View File

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