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 { func (s *Service) Register() error {
def := &consul.AgentServiceRegistration{ def := &consul.AgentServiceRegistration{
ID: s.GetID(), ID: s.GetID(),
Kind: consul.ServiceKindConnectProxy, // Kind: consul.ServiceKindConnectProxy,
Name: s.Name, Name: s.Name,
Address: s.Address, Address: s.Address,
Port: s.port, Port: s.port,