From c291c3d03c94a274671e8a4c1df6c81851e02415 Mon Sep 17 00:00:00 2001 From: Hossain Mahmud Date: Thu, 23 Mar 2023 13:11:47 +0600 Subject: [PATCH] Fix final phase identification for BackupSession (#1511) Signed-off-by: hmsayem --- pkg/controller/backup_session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/backup_session.go b/pkg/controller/backup_session.go index 1299d6154..c6b60c616 100644 --- a/pkg/controller/backup_session.go +++ b/pkg/controller/backup_session.go @@ -792,7 +792,7 @@ func (r *backupSessionReconciler) isAlreadyInFinalPhase() bool { phase := r.session.GetStatus().Phase return phase == api_v1beta1.BackupSessionSucceeded || phase == api_v1beta1.BackupSessionFailed || - phase == api_v1beta1.BackupSkipped + phase == api_v1beta1.BackupSessionSkipped } func (r *backupSessionReconciler) isSessionCompleted() bool {