mirror of https://github.com/status-im/consul.git
Use target service name instead of ID as connect proxy service name (#4620)
This commit is contained in:
parent
9a2ae6e8eb
commit
feb3ce4ee0
|
@ -661,7 +661,7 @@ func (l *State) AddProxy(proxy *structs.ConnectManagedProxy, token,
|
||||||
svc := &structs.NodeService{
|
svc := &structs.NodeService{
|
||||||
Kind: structs.ServiceKindConnectProxy,
|
Kind: structs.ServiceKindConnectProxy,
|
||||||
ID: target.ID + "-proxy",
|
ID: target.ID + "-proxy",
|
||||||
Service: target.ID + "-proxy",
|
Service: target.Service + "-proxy",
|
||||||
ProxyDestination: target.Service,
|
ProxyDestination: target.Service,
|
||||||
Address: cfg.BindAddress,
|
Address: cfg.BindAddress,
|
||||||
Port: cfg.BindPort,
|
Port: cfg.BindPort,
|
||||||
|
|
Loading…
Reference in New Issue