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

pull/4635/head
Martin 6 years ago committed by Paul Banks
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…
Cancel
Save