Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ce7e2bc75a | |||
| 4bedc5d926 | |||
| ea7f98f8bb |
@@ -67,15 +67,15 @@ func (s *Service) GetFullAddr() string {
|
||||
func (s *Service) Register() error {
|
||||
def := &consul.AgentServiceRegistration{
|
||||
ID: s.GetID(),
|
||||
Kind: consul.ServiceKindConnectProxy,
|
||||
// Kind: consul.ServiceKindConnectProxy,
|
||||
Name: s.Name,
|
||||
Address: s.Address,
|
||||
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",
|
||||
|
||||
Reference in New Issue
Block a user