code the final steps of the restore session
This commit is contained in:
parent
b2d80d66ae
commit
9526cf404b
@ -92,6 +92,10 @@ func (r *RestoreSessionReconciler) Reconcile(ctx context.Context, req ctrl.Reque
|
||||
r.Log.V(0).Info("One of the target did not manage to Finalize but the backup is still a Success")
|
||||
newSessionState = formolv1alpha1.Success
|
||||
}
|
||||
case formolv1alpha1.Success:
|
||||
r.Log.V(0).Info("The restore was a success")
|
||||
case formolv1alpha1.Failure:
|
||||
r.Log.V(0).Info("The restore was a failure")
|
||||
case "":
|
||||
newSessionState = formolv1alpha1.New
|
||||
restoreSession.Status.StartTime = &metav1.Time{Time: time.Now()}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user