consul fix

This commit is contained in:
Piotr Biernat 2023-06-30 01:11:09 +02:00
parent 7bbc717786
commit bb410b3158

View File

@ -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 {