Commit b0b7bf8f authored by Guido Trotter's avatar Guido Trotter

qa: Fix mistake in _DestroyInstanceDisks

Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarMichele Tartara <>
parent cc2a70b1
...@@ -187,7 +187,7 @@ def _DestroyInstanceDisks(instance): ...@@ -187,7 +187,7 @@ def _DestroyInstanceDisks(instance):
filestorage = pathutils.DEFAULT_FILE_STORAGE_DIR filestorage = pathutils.DEFAULT_FILE_STORAGE_DIR
idir = os.path.join(filestorage, idir = os.path.join(filestorage,
for node in info["nodes"]: for node in info["nodes"]:
AssertCommand(["rm", "-rf"] + idir, node=node) AssertCommand(["rm", "-rf", idir], node=node)
elif info["storage-type"] == constants.ST_DISKLESS: elif info["storage-type"] == constants.ST_DISKLESS:
pass pass
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment