Recognization of ping request for consul
This commit is contained in:
parent
c01098b672
commit
672a350f31
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user