]> git.proxmox.com Git - pve-storage.git/commit
prune: allow having all prune options zero/missing
authorFabian Ebner <f.ebner@proxmox.com>
Fri, 13 Nov 2020 13:08:55 +0000 (14:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 Nov 2020 09:14:11 +0000 (10:14 +0100)
commit343ca2570c3972f0fa1086b020bc9ab731f27b11
tree07ceaaf40ac4751d7cc79a5292298589ec03171a
parentf514181d2800207eb0a56a3d8fffa7bffdd84418
prune: allow having all prune options zero/missing

This is basically necessary for the GUI's prune widget, because we want to
pass along all options equal to zero when all the number fields are cleared.
And it's more similar to how it's done in PBS now.

Bumped the APIAGE and APIVER, in case some external plugin needs to adapt to
the now less restrictive schema for 'prune-backups'.

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