Compare commits

...

1 Commits

Author SHA1 Message Date
9d424742d6 register fix 2 2023-07-06 21:45:45 +02:00

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,