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, 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",