fix in consul discovery

This commit is contained in:
Piotr Biernat 2024-07-19 16:45:42 +02:00
parent 82d68e91b8
commit e55a2f42fe

View File

@ -103,7 +103,7 @@ func (s *Service) Register() error {
} }
func (s *Service) Unregister() error { func (s *Service) Unregister() error {
s.ttlTicker.Stop() s.ttlTicker.Stop()
s.hcTicker.Stop() // s.hcTicker.Stop()
s.client.Catalog().Deregister(&consul.CatalogDeregistration{ s.client.Catalog().Deregister(&consul.CatalogDeregistration{
Address: s.Address, Address: s.Address,