fix config pci device population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
8a930228c6
commit
85dd99000d
@ -524,7 +524,7 @@ function populateDevices() {
|
||||
});
|
||||
let ordered_keys = getOrdered(devices);
|
||||
ordered_keys.forEach(async (element) => {
|
||||
let deviceData = await requestAPI(`/nodes/pci?node=${node}&type=${type}&vmid=${vmid}&hostpci=${element}`, "GET");
|
||||
let deviceData = await requestAPI(`/instance/pci?node=${node}&type=${type}&vmid=${vmid}&hostpci=${element}`, "GET");
|
||||
addDeviceLine("devices", prefix, element, devices[element], deviceData);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user