Recognization of ping request for consul

This commit is contained in:
Piotr Biernat 2023-06-29 15:15:03 +02:00
parent c01098b672
commit 672a350f31

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/?name=%s", s.Address, s.port, s.Name)
}
func (s *Service) Register() error {