Compare commits

..

2 Commits

Author SHA1 Message Date
bbdce9b25a register fix 2023-07-05 22:25:56 +02:00
1d75153698 consul register fix 2023-07-04 18:54:12 +02:00

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, // DestinationServiceName: s.Name + "dupa",
}, // },
Check: &consul.AgentServiceCheck{ Check: &consul.AgentServiceCheck{
TTL: s.ttl.String(), TTL: s.ttl.String(),
Status: "passing", Status: "passing",