From 1c244db6ea7d897737062a26ab218f9507c4a06a Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 17 Jul 2024 15:09:37 +0200 Subject: [PATCH] Fixed consul registered address --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 1c28935..bbbe489 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -74,7 +74,7 @@ func (s *Service) Register() error { ID: s.GetID(), // Kind: consul.ServiceKindConnectProxy, Name: s.Name, - Address: s.GetFullAddr(), + Address: s.Address, Port: s.port, Tags: s.getTags(), // Connect: &consul.AgentServiceConnect{Native: true},