add error handling in vm-isos and ct-templates when configured node is unreachable,

update disk attach logic for new fabric changes
This commit is contained in:
2025-04-16 20:09:19 +00:00
parent 6300df344c
commit f34c13827b
2 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ router.post("/:disk/attach", async (req, res) => {
}
// setup action using source disk info from vm config
const action = {};
action[params.disk] = disk.volid;
action[params.disk] = disk.file;
const method = params.type === "qemu" ? "POST" : "PUT";
// commit action