fix in consul register method
This commit is contained in:
parent
3ed094ff55
commit
91c27b30bf
@ -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.Address,
|
Address: s.domain,
|
||||||
Port: s.port,
|
Port: s.port,
|
||||||
Tags: s.getTags(),
|
Tags: s.getTags(),
|
||||||
// Connect: &consul.AgentServiceConnect{Native: true},
|
// Connect: &consul.AgentServiceConnect{Native: true},
|
||||||
|
Loading…
Reference in New Issue
Block a user