From 7892b3168aa5b41a8626666971e9fdf64ca3de55 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sun, 11 Dec 2022 14:56:41 -0800 Subject: [PATCH] fix instance printing --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 2bc1b6b..63c94e9 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,9 @@ async function init () { 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}`); + console.log(`${nodes.data[i].node} quemu:`); + console.log(qemu); + console.log(`${nodes.data[i].node} lxc:`); + console.log(lxc); } } \ No newline at end of file