From f3e47059239966e49d5b0c483572e4955db5c1c6 Mon Sep 17 00:00:00 2001 From: freddygv Date: Tue, 15 Jun 2021 11:19:45 -0600 Subject: [PATCH] Remove unused param --- agent/xds/listeners.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/agent/xds/listeners.go b/agent/xds/listeners.go index 467ed8a4c3..c05416e5c0 100644 --- a/agent/xds/listeners.go +++ b/agent/xds/listeners.go @@ -1033,7 +1033,6 @@ func (s *ResourceGenerator) makeTerminatingGatewayListener( clusterChain, err := s.makeFilterChainTerminatingGateway( cfgSnap, - name, clusterName, svc, intentions, @@ -1052,7 +1051,6 @@ func (s *ResourceGenerator) makeTerminatingGatewayListener( subsetClusterChain, err := s.makeFilterChainTerminatingGateway( cfgSnap, - name, subsetClusterName, svc, intentions, @@ -1095,7 +1093,7 @@ func (s *ResourceGenerator) makeTerminatingGatewayListener( func (s *ResourceGenerator) makeFilterChainTerminatingGateway( cfgSnap *proxycfg.ConfigSnapshot, - listener, cluster string, + cluster string, service structs.ServiceName, intentions structs.Intentions, protocol string,