Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 54e4006d0d | |||
| 9cb590bf7a | |||
| 70c41dab96 | |||
| 99ac0a83c6 |
@@ -71,7 +71,11 @@ func (s *Service) Register() error {
|
||||
Address: s.Address,
|
||||
Port: s.port,
|
||||
Tags: s.getTags(),
|
||||
Connect: &consul.AgentServiceConnect{SidecarService: &consul.AgentServiceRegistration{}},
|
||||
Connect: &consul.AgentServiceConnect{
|
||||
// SidecarService: &consul.AgentServiceRegistration{
|
||||
// Port: s.port,
|
||||
// },
|
||||
},
|
||||
Check: &consul.AgentServiceCheck{
|
||||
TTL: s.ttl.String(),
|
||||
Status: "passing",
|
||||
|
||||
Reference in New Issue
Block a user