From ae7950e9b7635e60fa10d97c683dacc46260a710 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 17 Aug 2023 22:45:50 -0400 Subject: [PATCH] Fix bad import --- client-cli/pvc/lib/vm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-cli/pvc/lib/vm.py b/client-cli/pvc/lib/vm.py index c41e275b..af764d53 100644 --- a/client-cli/pvc/lib/vm.py +++ b/client-cli/pvc/lib/vm.py @@ -1017,13 +1017,13 @@ def vm_volumes_add(config, vm, volume, disk_id, bus, disk_type, live, restart): from lxml.objectify import fromstring from lxml.etree import tostring from copy import deepcopy - import pvc.lib.ceph as pvc_ceph + import pvc.lib.storage as pvc_storage if disk_type == "rbd": # Verify that the provided volume is valid vpool = volume.split("/")[0] vname = volume.split("/")[1] - retcode, retdata = pvc_ceph.ceph_volume_info(config, vpool, vname) + retcode, retdata = pvc_storage.ceph_volume_info(config, vpool, vname) if not retcode: return False, "Volume {} is not present in the cluster.".format(volume)