Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9cb590bf7a | |||
| 70c41dab96 |
@@ -73,8 +73,8 @@ 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{
|
||||||
TTL: s.ttl.String(),
|
TTL: s.ttl.String(),
|
||||||
|
|||||||
Reference in New Issue
Block a user