snapshots #10

Merged
jandre merged 69 commits from snapshots into master 2023-04-24 06:49:52 +00:00
Showing only changes of commit 9526cf404b - Show all commits

View File

@ -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") r.Log.V(0).Info("One of the target did not manage to Finalize but the backup is still a Success")
newSessionState = formolv1alpha1.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 "": case "":
newSessionState = formolv1alpha1.New newSessionState = formolv1alpha1.New
restoreSession.Status.StartTime = &metav1.Time{Time: time.Now()} restoreSession.Status.StartTime = &metav1.Time{Time: time.Now()}