]> git.proxmox.com Git - pve-manager.git/commit
fix #1212: allow options for delete in pvesh
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 25 Nov 2016 13:30:27 +0000 (14:30 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 25 Nov 2016 14:24:22 +0000 (15:24 +0100)
commit8d365d994f8fb61763ae99dc6543b3604af9f73b
treebd0a5072c293dcac4e9da76e5dc69f6a6984c2d2
parent83576841ae8a2c8626d1bc9cdd0c4918d9d74765
fix #1212: allow options for delete in pvesh

we did not allow to use parameters in the delete handler in pvesh,
but we make use of them (e.g. force on snapshot deleting)

as the get/set and delete handler do the same, refactor the if/else
paths of them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
bin/pvesh