From 974f82e9be14511f04ae9fe35e8669c0cbdb6e20 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sat, 20 Jul 2024 15:53:05 +0200 Subject: [PATCH] debug fix --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 6ff32cc..359d6ca 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -74,7 +74,7 @@ func (s *Service) GetFullAddr() string { if s.tls { proto = "https" } - return fmt.Sprintf("%s://%s:%d/", proto, s.Address, s.port) + return fmt.Sprintf("%s://%s:%d/", proto, s.domain, s.port) } func (s *Service) Register() error {