register fix

This commit is contained in:
Piotr Biernat 2023-07-05 22:45:12 +02:00
parent bbdce9b25a
commit ea7f98f8bb

View File

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