stork icon indicating copy to clipboard operation
stork copied to clipboard

PB-7173: Bug fix - Backup to not fail when there are non-PVC resources to be backed up

Open kgarg-px opened this issue 8 months ago • 0 comments

What type of PR is this?

Uncomment only one and also add the corresponding label in the PR: bug

What this PR does / why we need it: Earlier when there were only non-PVC resources were present for the backup we were entering the loop backup.Status.Volumes) == backup.Status.FailedVolCount and failing the backup. Now the entry into this loop is changed and backup does not fail if only non-PVC resources are backed up

Does this PR change a user-facing CRD or CLI?:

Is a release note needed?:

Issue:
User Impact:
Resolution

Does this change need to be cherry-picked to a release branch?:

After the fix: As it can be seen in the screenshot, we have taken backup of only non-PVC resources and backup is successful. Screenshot 2024-05-30 at 5 01 34 PM Screenshot 2024-05-30 at 5 02 07 PM

Before this PR: Screenshot 2024-05-30 at 5 11 01 PM

kgarg-px avatar May 30 '24 11:05 kgarg-px