register fix
This commit is contained in:
parent
bbdce9b25a
commit
ea7f98f8bb
@ -73,9 +73,9 @@ 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{
|
// Proxy: &consul.AgentServiceConnectProxyConfig{
|
||||||
// DestinationServiceName: s.Name + "dupa",
|
// DestinationServiceName: s.Name + "dupa",
|
||||||
|
Loading…
Reference in New Issue
Block a user