Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95584eb407 | |||
| ce7e2bc75a | |||
| 4bedc5d926 | |||
| ea7f98f8bb |
@@ -73,13 +73,13 @@ 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,
|
||||||
// },
|
|
||||||
},
|
},
|
||||||
// Proxy: &consul.AgentServiceConnectProxyConfig{
|
},
|
||||||
// DestinationServiceName: s.Name + "dupa",
|
Proxy: &consul.AgentServiceConnectProxyConfig{
|
||||||
// },
|
DestinationServiceName: s.Name,
|
||||||
|
},
|
||||||
Check: &consul.AgentServiceCheck{
|
Check: &consul.AgentServiceCheck{
|
||||||
TTL: s.ttl.String(),
|
TTL: s.ttl.String(),
|
||||||
Status: "passing",
|
Status: "passing",
|
||||||
|
|||||||
Reference in New Issue
Block a user