consul register fix
This commit is contained in:
parent
dad915f2ec
commit
c177133daf
@ -77,6 +77,9 @@ func (s *Service) Register() error {
|
|||||||
// Port: s.port,
|
// Port: s.port,
|
||||||
// },
|
// },
|
||||||
},
|
},
|
||||||
|
Proxy: &consul.AgentServiceConnectProxyConfig{
|
||||||
|
DestinationServiceName: s.Name,
|
||||||
|
},
|
||||||
Check: &consul.AgentServiceCheck{
|
Check: &consul.AgentServiceCheck{
|
||||||
TTL: s.ttl.String(),
|
TTL: s.ttl.String(),
|
||||||
Status: "passing",
|
Status: "passing",
|
||||||
|
Loading…
Reference in New Issue
Block a user