From c294f1ea5818ab37fe588164ad91c8b847dd83cf Mon Sep 17 00:00:00 2001 From: Sunjay Bhatia Date: Wed, 7 Feb 2024 14:33:10 -0500 Subject: [PATCH] comment Signed-off-by: Sunjay Bhatia --- internal/dag/gatewayapi_processor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/dag/gatewayapi_processor.go b/internal/dag/gatewayapi_processor.go index e45ad448535..8cb209592d6 100644 --- a/internal/dag/gatewayapi_processor.go +++ b/internal/dag/gatewayapi_processor.go @@ -221,6 +221,8 @@ func (p *GatewayAPIProcessor) processRoute( p.resolveRouteRefs(route, routeParentStatus) } + // Collect other Listeners with configured hostnames so we can + // calculate Listener/Route hostname intersection properly. otherListenerHostnames := []string{} for _, listener := range listeners { name := string(listener.listener.Name)