fix missing :

This commit is contained in:
ahmadbilalkhalid 2019-07-20 20:19:44 +05:00
parent bc1854aa25
commit 9ec1466c2d

View file

@ -113,7 +113,7 @@ def start_vm(vm_path, e):
# uservms pool then checkwhether the e.key.split("/").pop()
# exists in rbd_ls(uservms_pool)
if not vm_path.split("/")[-1] in RBD.ls("uservms")
if not vm_path.split("/")[-1] in RBD.ls("uservms"):
logging.info(f"Image file of vm {e.key} does not exists")
logging.info(f"Setting vm {e.key} status to DELETED")
e.value["status"] = "DELETED"