Skip to content

Commit

Permalink
Fix final phase identification for BackupSession (#1511)
Browse files Browse the repository at this point in the history
Signed-off-by: hmsayem <hmsayem@appscode.com>
  • Loading branch information
hmsayem authored Mar 23, 2023
1 parent 7e74e40 commit c291c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/backup_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c291c3d

Please sign in to comment.