consul register as sidecar_service fix
This commit is contained in:
parent
99ac0a83c6
commit
70c41dab96
@ -74,7 +74,7 @@ func (s *Service) Register() error {
|
||||
Connect: &consul.AgentServiceConnect{
|
||||
SidecarService: &consul.AgentServiceRegistration{
|
||||
Port: s.port,
|
||||
}
|
||||
},
|
||||
},
|
||||
Check: &consul.AgentServiceCheck{
|
||||
TTL: s.ttl.String(),
|
||||
|
Loading…
Reference in New Issue
Block a user