]> git.proxmox.com Git - pve-storage.git/commit
pvesm set: handle deletion of properties
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 14 May 2019 14:18:50 +0000 (16:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 14 May 2019 14:24:34 +0000 (16:24 +0200)
commit4273e3ace94a22c39d98385d9dfb72249eac09aa
tree999d476cb905eb7cf272006c33aa7927bca7a3a1
parentd8e8b291d459e7970130a54e17ed0f5f9c883f2f
pvesm set: handle deletion of properties

the delete parameter get's injected by the SectionConfigs
updateSchem, but we need to handle it ourself in the code
This makes the following possible:

pvesm set STORAGEID --delete property

Also the API equivalent is now possible. Adapted from the HA
managers Resource update API call.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Storage/Config.pm