fix in consul discovery
This commit is contained in:
parent
82d68e91b8
commit
e55a2f42fe
@ -103,7 +103,7 @@ func (s *Service) Register() error {
|
||||
}
|
||||
func (s *Service) Unregister() error {
|
||||
s.ttlTicker.Stop()
|
||||
s.hcTicker.Stop()
|
||||
// s.hcTicker.Stop()
|
||||
|
||||
s.client.Catalog().Deregister(&consul.CatalogDeregistration{
|
||||
Address: s.Address,
|
||||
|
Loading…
Reference in New Issue
Block a user