From 4bedc5d9265a4654d5b36a075d295e77ccf66b0f Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 5 Jul 2023 23:35:17 +0200 Subject: [PATCH] register fix 2 --- consul/discovery.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/consul/discovery.go b/consul/discovery.go index 6a0fae7..e918d3a 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -77,9 +77,9 @@ func (s *Service) Register() error { // Port: s.port, }, }, - // Proxy: &consul.AgentServiceConnectProxyConfig{ - // DestinationServiceName: s.Name + "dupa", - // }, + Proxy: &consul.AgentServiceConnectProxyConfig{ + DestinationServiceName: s.Name + "dupa", + }, Check: &consul.AgentServiceCheck{ TTL: s.ttl.String(), Status: "passing",