Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95584eb407 | |||
| ce7e2bc75a | |||
| 4bedc5d926 | |||
| ea7f98f8bb | |||
| bbdce9b25a |
@@ -73,12 +73,12 @@ func (s *Service) Register() error {
|
||||
Port: s.port,
|
||||
Tags: s.getTags(),
|
||||
Connect: &consul.AgentServiceConnect{
|
||||
// SidecarService: &consul.AgentServiceRegistration{
|
||||
SidecarService: &consul.AgentServiceRegistration{
|
||||
// Port: s.port,
|
||||
// },
|
||||
},
|
||||
},
|
||||
Proxy: &consul.AgentServiceConnectProxyConfig{
|
||||
DestinationServiceName: s.Name + "dupa",
|
||||
DestinationServiceName: s.Name,
|
||||
},
|
||||
Check: &consul.AgentServiceCheck{
|
||||
TTL: s.ttl.String(),
|
||||
|
||||
Reference in New Issue
Block a user