Use target service name instead of ID as connect proxy service name (#4620)

This commit is contained in:
Martin 2018-09-05 21:33:17 +02:00 committed by Paul Banks
parent 9a2ae6e8eb
commit feb3ce4ee0
1 changed files with 1 additions and 1 deletions

View File

@ -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,