]> git.proxmox.com Git - pve-manager.git/commit
api: ceph: $get_storages check if data-pool too
authorAaron Lauterer <a.lauterer@proxmox.com>
Thu, 28 Apr 2022 11:58:05 +0000 (13:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Apr 2022 18:26:38 +0000 (20:26 +0200)
commit29fe1eea7a057d239a7f5f86f354fff084520674
tree26eea2633abd01546e3f25c4b274ec809fdf3ae0
parent24f3f2bc2939680953aa61a9b2de3e1cec251a33
api: ceph: $get_storages check if data-pool too

When removing a pool, we check against any storage that might have that
pool configured.
We need to check if that pool is used as data-pool too.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/API2/Ceph/Pools.pm