From 58fad92cd35e0f68985645102d5c3cc50ce972ab Mon Sep 17 00:00:00 2001 From: John Maguire Date: Wed, 14 Aug 2024 16:03:00 -0400 Subject: [PATCH] fix where jwt clusters are generated (#21606) --- agent/xds/clusters.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/xds/clusters.go b/agent/xds/clusters.go index f6a3532447..ba04dada22 100644 --- a/agent/xds/clusters.go +++ b/agent/xds/clusters.go @@ -1003,9 +1003,9 @@ func (s *ResourceGenerator) clustersFromSnapshotAPIGateway(cfgSnap *proxycfg.Con createdClusters[uid] = true } - - clusters = append(clusters, makeAPIGatewayJWKClusters(s.Logger, cfgSnap)...) } + + clusters = append(clusters, makeAPIGatewayJWKClusters(s.Logger, cfgSnap)...) return clusters, nil }