consul connect fixing
This commit is contained in:
@@ -72,9 +72,9 @@ func (s *Service) Register() error {
|
||||
Port: s.port,
|
||||
Tags: s.getTags(),
|
||||
Connect: &consul.AgentServiceConnect{
|
||||
SidecarService: &consul.AgentServiceRegistration{
|
||||
// SidecarService: &consul.AgentServiceRegistration{
|
||||
// Port: s.port,
|
||||
},
|
||||
// },
|
||||
},
|
||||
Check: &consul.AgentServiceCheck{
|
||||
TTL: s.ttl.String(),
|
||||
|
||||
Reference in New Issue
Block a user