Commit b0b7bf8f authored by Guido Trotter's avatar Guido Trotter

qa: Fix mistake in _DestroyInstanceDisks

Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
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, instance.name) idir = os.path.join(filestorage, instance.name)
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
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment