From 3394040a8c0f2a21068fd3243b94331b8df8d203 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 17 Jul 2024 15:07:09 +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 6afe562..1c28935 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.GetFullAddr(), Port: s.port, Tags: s.getTags(), // Connect: &consul.AgentServiceConnect{Native: true},