fix missing :
This commit is contained in:
parent
bc1854aa25
commit
9ec1466c2d
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue