Fixed consul registered address

This commit is contained in:
Piotr Biernat 2024-07-17 15:09:37 +02:00
parent 3394040a8c
commit 1c244db6ea

View File

@ -74,7 +74,7 @@ func (s *Service) Register() error {
ID: s.GetID(), ID: s.GetID(),
// Kind: consul.ServiceKindConnectProxy, // Kind: consul.ServiceKindConnectProxy,
Name: s.Name, Name: s.Name,
Address: s.GetFullAddr(), Address: s.Address,
Port: s.port, Port: s.port,
Tags: s.getTags(), Tags: s.getTags(),
// Connect: &consul.AgentServiceConnect{Native: true}, // Connect: &consul.AgentServiceConnect{Native: true},