From ab6189e855c985e7b017f198110ebf0bfc41949b Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 17 Jul 2024 15:14:20 +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 bbbe489..6afe562 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.Address, + Address: s.domain, Port: s.port, Tags: s.getTags(), // Connect: &consul.AgentServiceConnect{Native: true},