-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(zfspv): fixing the backup deletion (#129)
We use pvname and snapname for creating the backup. Now since we are returning schedule name also in snapshotID, so While deleting the ZFSBackup CR we should use the pvname and snapname. We broke this in #125. Also fixed the backup compatibility for older backups where we were not fetching the schedule name. We should fetch the schedule name from the backup name using the naming format. Signed-off-by: Pawan <pawan@mayadata.io>
- Loading branch information
1 parent
a4fe177
commit ec4d713
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fixing the backup deletion for ZFS-LocalPV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters