register fix

This commit is contained in:
Piotr Biernat 2023-07-05 22:25:56 +02:00
parent 1d75153698
commit bbdce9b25a

View File

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