Skip to content

Commit

Permalink
Use target service name instead of ID as connect proxy service name (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
uepoch authored and banks committed Sep 5, 2018
1 parent 9a2ae6e commit feb3ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/local/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit feb3ce4

Please sign in to comment.