Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 54e4006d0d |
@@ -72,9 +72,9 @@ func (s *Service) Register() error {
|
|||||||
Port: s.port,
|
Port: s.port,
|
||||||
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{
|
||||||
TTL: s.ttl.String(),
|
TTL: s.ttl.String(),
|
||||||
|
|||||||
Reference in New Issue
Block a user