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