From dad915f2ec80a23fcb07316145aa053d39571c5e Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Tue, 4 Jul 2023 18:41:52 +0200 Subject: [PATCH] consul register fix --- consul/discovery.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consul/discovery.go b/consul/discovery.go index 590ebb1..2ed9ea9 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -67,6 +67,7 @@ func (s *Service) GetFullAddr() string { func (s *Service) Register() error { def := &consul.AgentServiceRegistration{ ID: s.GetID(), + Kind: consul.ServiceKindConnectProxy, Name: s.Name, Address: s.Address, Port: s.port,