From e55a2f42fea73d973b557f851708127252de6e38 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Fri, 19 Jul 2024 16:45:42 +0200 Subject: [PATCH] fix in consul discovery --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 54c460c..2f97e57 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -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,