Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3fc1191f6e | |||
| 52793ac244 |
@@ -72,11 +72,12 @@ func (s *Service) Register() error {
|
|||||||
Address: s.Address,
|
Address: s.Address,
|
||||||
Port: s.port,
|
Port: s.port,
|
||||||
Tags: s.getTags(),
|
Tags: s.getTags(),
|
||||||
// Connect: &consul.AgentServiceConnect{
|
Connect: &consul.AgentServiceConnect{
|
||||||
// SidecarService: &consul.AgentServiceRegistration{
|
Native: true,
|
||||||
// Port: s.port,
|
// SidecarService: &consul.AgentServiceRegistration{
|
||||||
// },
|
// Port: s.port,
|
||||||
// },
|
// },
|
||||||
|
},
|
||||||
// Proxy: &consul.AgentServiceConnectProxyConfig{
|
// Proxy: &consul.AgentServiceConnectProxyConfig{
|
||||||
// DestinationServiceName: s.Name,
|
// DestinationServiceName: s.Name,
|
||||||
// },
|
// },
|
||||||
|
|||||||
Reference in New Issue
Block a user