Skip to content

Commit

Permalink
ocp: do not return error when setting condition
Browse files Browse the repository at this point in the history
Signed-off-by: Benny Zlotnik <[email protected]>
bennyz authored and ahadas committed Apr 19, 2024
1 parent d0712b3 commit 9c4e0a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/controller/plan/validation.go
Original file line number Diff line number Diff line change
@@ -190,7 +190,6 @@ func (r *Reconciler) validateOpenShiftVersion(plan *api.Plan) error {
err = r.checkOCPVersion(clientset)
if err != nil {
plan.Status.SetCondition(unsupportedVersion)
return err
}
}

0 comments on commit 9c4e0a6

Please sign in to comment.