From 98d85810f34f137db7e66deaf854c427926eaf16 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sat, 8 Jul 2023 13:02:13 +0200 Subject: [PATCH] register fix 2 --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 4e602fe..8c75d4c 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("http://%s:%d/", s.domain, s.port) + return fmt.Sprintf("https://%s:%d/", s.domain, s.port) } func (s *Service) Register() error {