From 231a6cd95e16dcfebda63816a951f9118e1944a9 Mon Sep 17 00:00:00 2001 From: Benny Zlotnik Date: Wed, 17 Apr 2024 10:44:35 +0300 Subject: [PATCH] ocp: do not return error when setting condition Signed-off-by: Benny Zlotnik --- pkg/controller/plan/validation.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/controller/plan/validation.go b/pkg/controller/plan/validation.go index 7fdc249f9..1e1534468 100644 --- a/pkg/controller/plan/validation.go +++ b/pkg/controller/plan/validation.go @@ -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 } }