Fixed consul registered address
This commit is contained in:
parent
3394040a8c
commit
1c244db6ea
@ -74,7 +74,7 @@ func (s *Service) Register() error {
|
||||
ID: s.GetID(),
|
||||
// Kind: consul.ServiceKindConnectProxy,
|
||||
Name: s.Name,
|
||||
Address: s.GetFullAddr(),
|
||||
Address: s.Address,
|
||||
Port: s.port,
|
||||
Tags: s.getTags(),
|
||||
// Connect: &consul.AgentServiceConnect{Native: true},
|
||||
|
Loading…
Reference in New Issue
Block a user