From bb410b315862ad101eaf2b8c08f6a0cf1462e3c3 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Fri, 30 Jun 2023 01:11:09 +0200 Subject: [PATCH] consul fix --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 592d50f..c78d5e7 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -61,7 +61,7 @@ func (s *Service) GetID() string { } func (s *Service) GetFullAddr() string { - return fmt.Sprintf("https://%s:%d/", s.Address, s.port) + return fmt.Sprintf("https://%s:%d/", s.domain, s.port) } func (s *Service) Register() error {