From ea08da8d10b7b17bf761338efa03760646f8f737 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 17 Jul 2024 15:34:55 +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 3d03914..06af929 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.domain, + Address: s.Address, Port: s.port, Tags: s.getTags(), // Connect: &consul.AgentServiceConnect{Native: true},