Skip to content

Commit

Permalink
refactor: do not only just received programmed gateway events
Browse files Browse the repository at this point in the history
  • Loading branch information
KevFan committed Jul 3, 2024
1 parent 7269fc5 commit fa9c760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/library/mappers/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (m *gatewayEventMapper) MapToPolicy(ctx context.Context, obj client.Object,
kuadrantgatewayapi.WithRoutes(utils.Map(routeList.Items, ptr.To[gatewayapiv1.HTTPRoute])),
kuadrantgatewayapi.WithPolicies(policies),
kuadrantgatewayapi.WithLogger(logger),
kuadrantgatewayapi.WithProgrammedGatewaysOnly(policyKind.TargetProgrammedGatewaysOnly()),
kuadrantgatewayapi.WithProgrammedGatewaysOnly(false),
)
if err != nil {
logger.V(1).Error(err, "unable to build topology for gateway")
Expand Down

0 comments on commit fa9c760

Please sign in to comment.