fix in consul discovery
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user