]> git.proxmox.com Git - pve-storage.git/commit
prune: mark renamed and protected backups differently
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 30 Sep 2021 11:42:09 +0000 (13:42 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 8 Nov 2021 13:56:15 +0000 (14:56 +0100)
commitecfe25058bb02eaa362ce65ca258f4e3bd7f5ae8
treed22cd1b527004f5fe3da7d7dc8ad45ead019623e
parent56897a920350d4429485e27b2b165860c6c543cf
prune: mark renamed and protected backups differently

While it makes no difference for pruning itself, protected backups are
additionally protected against removal. Avoid the potential to confuse
the two. Also update the description for the API return value and add
an enum constraint.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/API2/Storage/PruneBackups.pm
PVE/Storage/Plugin.pm
test/prune_backups_test.pm