From 9d424742d65bda6f505a8a48191c02a5752889ef Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Thu, 6 Jul 2023 21:45:45 +0200 Subject: [PATCH] register fix 2 --- consul/discovery.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consul/discovery.go b/consul/discovery.go index 669967a..8c706d2 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -66,8 +66,8 @@ func (s *Service) GetFullAddr() string { func (s *Service) Register() error { def := &consul.AgentServiceRegistration{ - ID: s.GetID(), - Kind: consul.ServiceKindConnectProxy, + ID: s.GetID(), + // Kind: consul.ServiceKindConnectProxy, Name: s.Name, Address: s.Address, Port: s.port,