Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ func (s ExitMaintenanceStep) Take(ctx context.Context, vmop *v1alpha2.VirtualMac
)
return &reconcile.Result{}, err
}

maintenanceVMCondition.Status = metav1.ConditionFalse
}

// If the maintenance condition was not present on the VM,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (s WaitingDisksReadyStep) Take(ctx context.Context, vmop *v1alpha2.VirtualM
if k8serrors.IsNotFound(err) {
cb.Message("Waiting for resource readiness.")
conditions.SetCondition(cb, &vmop.Status.Conditions)
return nil, nil
return &reconcile.Result{}, nil
}
return &reconcile.Result{}, fmt.Errorf("failed to get the `VirtualDisk`: %w", err)
}
Expand Down
Loading