From 398d7a2074f20fa40de316d50d737ef36efcea65 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 17 Jul 2024 20:39:19 +0200 Subject: [PATCH] Fix in consul/discovery.go --- consul/discovery.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/consul/discovery.go b/consul/discovery.go index 67ce73d..a57585d 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -95,10 +95,10 @@ func (s *Service) Register() error { return nil } func (s *Service) Unregister() error { - s.client.Catalog().Deregister(&consul.CatalogDeregistration{ - Address: s.Address, - ServiceID: s.GetID(), - }, nil) + // s.client.Catalog().Deregister(&consul.CatalogDeregistration{ + // Address: s.Address, + // ServiceID: s.GetID(), + // }, nil) return s.agent.ServiceDeregister(s.GetID()) }