]> git.proxmox.com Git - pve-storage.git/commit - PVE/API2/Disks/LVMThin.pm
api: disks: delete: add flag for cleaning up storage config
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 25 Oct 2021 13:47:49 +0000 (15:47 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 10 Nov 2021 11:35:25 +0000 (12:35 +0100)
commitcde43c4880422e4913ee182fe948193281cf698c
treeca8715c2fd69fdeb6077a7c1d90ad9d90f612722
parentf81908eb58939b75ee4eb7abcde4ed078e84edac
api: disks: delete: add flag for cleaning up storage config

Update node restrictions to reflect that the storage is not available
anymore on the particular node. If the storage was only configured for
that node, remove it altogether.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
slight style fixup

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/API2/Disks/Directory.pm
PVE/API2/Disks/LVM.pm
PVE/API2/Disks/LVMThin.pm
PVE/API2/Disks/ZFS.pm
PVE/API2/Storage/Config.pm