register fix 2

This commit is contained in:
Piotr Biernat 2023-07-06 21:45:45 +02:00
parent a9b73a6536
commit 9d424742d6

View File

@ -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,