]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
DiskList: render osdid-list if present
authorAaron Lauterer <a.lauterer@proxmox.com>
Tue, 22 Aug 2023 09:04:56 +0000 (11:04 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 13 Nov 2023 14:33:55 +0000 (15:33 +0100)
commitd981e33b1ff9ec01136a4999605fb1c09f90151f
treed5b00f3eda03f8565cf61fd443eb970ebc1144cb
parent40e341792e45b2eb7e11b0f8b58877cc7dda0cf9
DiskList: render osdid-list if present

Render all OSD IDs in 'osdid-list' if the parameter is present.

It is possible to have multiple OSD daemons on a disk. We want to list
them all in the UI.
Fall back to the 'osdid' parameter if 'osdid-list' is not available.

We check rec.data['osdid-list'] against its general truthiness as it
might not be present at all or null.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
src/panel/DiskList.js