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]>
  • Loading branch information
bennyz authored and ahadas committed Apr 19, 2024
1 parent e28ba1b commit b679a00
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
Expand Up @@ -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
}
}

Expand Down

0 comments on commit b679a00

Please sign in to comment.