From feb3ce4ee0451af6bb10bcc4c16ef40f4a9a8fa1 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 5 Sep 2018 21:33:17 +0200 Subject: [PATCH] Use target service name instead of ID as connect proxy service name (#4620) --- agent/local/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/local/state.go b/agent/local/state.go index 1f15f231a9..6520d31884 100644 --- a/agent/local/state.go +++ b/agent/local/state.go @@ -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,