5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2024-12-22 13:34:16 +03:00
pve-storage/PVE
Christian Ebner d70d814ccf api: fix get content call response type for RBD/ZFS/iSCSI volumes
`pvesh get /nodes/{node}/storage/{storage}/content/{volume}` failed for
several storage types, because the respective storage plugins returned
only the volumes `size` on `volume_size_info` calls, while also the format
is required.

This patch fixes the issue by returning also `format` and where possible `used`.

The issue was reported in the forum:
https://forum.proxmox.com/threads/pvesh-get-nodes-node-storage-storage-content-volume-returns-error.123747/

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
 [ T: fixup white space error ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-03-20 16:35:58 +01:00
..
API2 disk manage: fix dereferencing draid config 2022-11-17 19:10:58 +01:00
CLI (remote) export: check and untaint format 2022-09-29 14:21:08 +02:00
Storage api: fix get content call response type for RBD/ZFS/iSCSI volumes 2023-03-20 16:35:58 +01:00
CephConfig.pm ceph config: minor code cleanup & comment 2022-04-26 12:47:58 +02:00
Diskmanage.pm disk manage: pass full NVMe device path to smartctl 2022-12-13 13:26:53 +01:00
Makefile move Storage/CephTools to CephConfig 2018-12-20 09:26:11 +01:00
Storage.pm snapshot delete: add reminder to drop $running parameter with PVE 8.x 2023-01-12 08:28:58 +01:00