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 {