Compare commits

...

3 Commits

Author SHA1 Message Date
4bedc5d926 register fix 2 2023-07-05 23:35:17 +02:00
ea7f98f8bb register fix 2023-07-05 22:45:12 +02:00
bbdce9b25a register fix 2023-07-05 22:25:56 +02:00

View File

@@ -73,9 +73,9 @@ func (s *Service) Register() error {
Port: s.port, Port: s.port,
Tags: s.getTags(), Tags: s.getTags(),
Connect: &consul.AgentServiceConnect{ Connect: &consul.AgentServiceConnect{
// SidecarService: &consul.AgentServiceRegistration{ SidecarService: &consul.AgentServiceRegistration{
// Port: s.port, // Port: s.port,
// }, },
}, },
Proxy: &consul.AgentServiceConnectProxyConfig{ Proxy: &consul.AgentServiceConnectProxyConfig{
DestinationServiceName: s.Name + "dupa", DestinationServiceName: s.Name + "dupa",