]> git.proxmox.com Git - pve-storage.git/commit
fix prune-backups validation (again)
authorFabian Ebner <f.ebner@proxmox.com>
Fri, 10 Sep 2021 09:37:18 +0000 (11:37 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 10 Sep 2021 12:16:26 +0000 (14:16 +0200)
commitd5fc368503fc04fdbc411d0a6dde13fce75ece18
tree827285ab37dfc6e5ed08da8557f4bbfcf0ab1406
parenta000e26ce7d30ba2b938402164a9a15e66dd123e
fix prune-backups validation (again)

Commit a000e26ce7d30ba2b938402164a9a15e66dd123e caused a test failure
in pve-manager, because now 'keep-all=0' is not thrown out upon
validation anymore. Fix the issue the commit addressed differently,
by simply creating a copy of the (shallow) hash first, and using
the logic from before the commit.

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