fix in consul register method

This commit is contained in:
Piotr Biernat 2024-07-16 19:13:40 +02:00
parent 3ed094ff55
commit 91c27b30bf

View File

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