Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 52793ac244 | |||
| f8a1ae841d | |||
| 9d424742d6 |
@@ -66,15 +66,15 @@ func (s *Service) GetFullAddr() string {
|
||||
|
||||
func (s *Service) Register() error {
|
||||
def := &consul.AgentServiceRegistration{
|
||||
ID: s.GetID(),
|
||||
Kind: consul.ServiceKindConnectProxy,
|
||||
ID: s.GetID(),
|
||||
// Kind: consul.ServiceKindConnectProxy,
|
||||
Name: s.Name,
|
||||
Address: s.Address,
|
||||
Port: s.port,
|
||||
Tags: s.getTags(),
|
||||
Connect: &consul.AgentServiceConnect{
|
||||
SidecarService: &consul.AgentServiceRegistration{
|
||||
// Port: s.port,
|
||||
Port: s.port,
|
||||
},
|
||||
},
|
||||
Proxy: &consul.AgentServiceConnectProxyConfig{
|
||||
|
||||
Reference in New Issue
Block a user