]> git.proxmox.com Git - pve-manager.git/commit
api: ceph: pools: get_storages: set pool name if missing
authorAaron Lauterer <a.lauterer@proxmox.com>
Thu, 13 Oct 2022 10:32:47 +0000 (12:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 14 Oct 2022 13:43:53 +0000 (15:43 +0200)
commit655080eeeb0ed5b6bee06096d3c95286cb71919e
treec09c0e7f88912a32f57d3e7cda71d284bcfe06c1
parentd3d487361548a503604fb86e142ebdd30be5c23e
api: ceph: pools: get_storages: set pool name if missing

This avoids errors about the use of uninitialized values if the 'pool'
parameter is not present in the storage configuration.

The 'pool' property for an RBD storage config is not mandatory.

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