From e6bfbb6d451b2e41a745a84da5dabedc2fbb0c38 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 21 May 2024 15:15:25 -0400 Subject: [PATCH] Actually fix incorrect naming bug --- daemon-common/vm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon-common/vm.py b/daemon-common/vm.py index c5d265cd..55f76608 100644 --- a/daemon-common/vm.py +++ b/daemon-common/vm.py @@ -1367,8 +1367,8 @@ def remove_vm_snapshot(zkhandler, domain, snapshot_name): ) rbd_snapshots = _snapshots.split(",") for snap in rbd_snapshots: - name, rbd = snap.split("@") - pool, volume = name.split("/") + rbd, name = snap.split("@") + pool, volume = rbd.split("/") ret, msg = ceph.remove_snapshot(zkhandler, pool, volume, name) if not ret: return False, msg