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