From 45c4c86911d8aa2223e32b93bdc5d8ede4b33479 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 17 Oct 2023 11:47:01 -0400 Subject: [PATCH] Handle extra return variable --- daemon-common/vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon-common/vm.py b/daemon-common/vm.py index 81df2066..f6d5e5ee 100644 --- a/daemon-common/vm.py +++ b/daemon-common/vm.py @@ -1326,7 +1326,7 @@ def backup_vm( return False, f"ERROR: Target path {target_path} does not exist!" # 1. Get information about VM - vm_detail = get_list(zkhandler, limit=dom_uuid, is_fuzzy=False)[0] + _, vm_detail = get_list(zkhandler, limit=dom_uuid, is_fuzzy=False)[0] vm_volumes = [ tuple(d["name"].split("/")) for d in vm_detail["disks"] if d["type"] == "rbd" ]