Skip to content

Commit

Permalink
fix: ComputeGatewayDiffs when missing target HTTPRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
guicassolato committed Jan 13, 2023
1 parent 73c8d08 commit 4dcd7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconcilers/targetref_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func (r *TargetRefReconciler) ComputeGatewayDiffs(ctx context.Context, policy co
logger, _ := logr.FromContext(ctx)

gwKeys, err := r.TargetedGatewayKeys(ctx, policy.GetTargetRef(), policy.GetNamespace())
if err != nil {
if err != nil && !apierrors.IsNotFound(err) {
return nil, err
}

Expand Down

0 comments on commit 4dcd7de

Please sign in to comment.