check instance GET
This commit is contained in:
parent
e6c1c02358
commit
6f32ae83cc
4
index.js
4
index.js
@ -17,5 +17,9 @@ async function init () {
|
||||
let newNode = document.createElement("node-card");
|
||||
newNode.data = nodes.data[i];
|
||||
nodeContainer.append(newNode);
|
||||
let qemu = await request(`/nodes/${nodes.data[i].node}/qemu`, "GET", null);
|
||||
let lxc = await request(`/nodes/${nodes.data[i].node}/lxc`, "GET", null);
|
||||
console.log(`${nodes.data[i].node} quemu: ${qemu}`);
|
||||
console.log(`${nodes.data[i].node} lxc: ${lxc}`);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user