Commit 95155a8c authored by Bernardo Dal Seno's avatar Bernardo Dal Seno

Fix missing "raise" in QA

The bug was introduced in 345d395d.
Signed-off-by: default avatarBernardo Dal Seno <bdalseno@google.com>
Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
parent a9310b5b
......@@ -57,8 +57,8 @@ def GetGenericAddParameters(inst, disk_template, force_mac=None):
if qa_config.AreSpindlesSupported():
spindles = disk.get("spindles")
if spindles is None:
qa_error.Error("'spindles' is a required parameter for disks when you"
" enable exclusive storage tests")
raise qa_error.Error("'spindles' is a required parameter for disks"
" when you enable exclusive storage tests")
diskparams += ",spindles=%s" % spindles
params.extend(["--disk", diskparams])
......
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