Skip to content

Commit

Permalink
updated error condition for ensuring toggleable components
Browse files Browse the repository at this point in the history
Signed-off-by: dislbenn <dbennett@redhat.com>
  • Loading branch information
dislbenn committed Oct 7, 2024
1 parent 336bd9e commit 48b8b6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controllers/backplaneconfig_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ func (r *MultiClusterEngineReconciler) Reconcile(ctx context.Context, req ctrl.R
}

result, err = r.ensureToggleableComponents(ctx, backplaneConfig)
if (result != ctrl.Result{}) || err != nil {
if err != nil {
return result, err
}

Expand Down Expand Up @@ -994,6 +994,7 @@ func (r *MultiClusterEngineReconciler) ensureToggleableComponents(ctx context.Co
if err != nil {
errs[backplanev1.HypershiftLocalHosting] = err
}

if utils.DeployOnOCP() {
ocpConsole, err := r.CheckConsole(ctx)
if err != nil {
Expand Down

0 comments on commit 48b8b6d

Please sign in to comment.