Commit b08d5a87 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix some indendation issues

Reviewed-by: imsnah
parent c7b27e9e
...@@ -947,7 +947,7 @@ class LUVerifyDisks(NoHooksLU): ...@@ -947,7 +947,7 @@ class LUVerifyDisks(NoHooksLU):
inst = nv_dict.pop((node, lv_name), None) inst = nv_dict.pop((node, lv_name), None)
if (not lv_online and inst is not None if (not lv_online and inst is not None
and inst.name not in res_instances): and inst.name not in res_instances):
res_instances.append(inst.name) res_instances.append(inst.name)
# any leftover items in nv_dict are missing LVs, let's arrange the # any leftover items in nv_dict are missing LVs, let's arrange the
# data better # data better
...@@ -3060,8 +3060,8 @@ class LUCreateInstance(LogicalUnit): ...@@ -3060,8 +3060,8 @@ class LUCreateInstance(LogicalUnit):
# boot order verification # boot order verification
if self.op.hvm_boot_order is not None: if self.op.hvm_boot_order is not None:
if len(self.op.hvm_boot_order.strip("acdn")) != 0: if len(self.op.hvm_boot_order.strip("acdn")) != 0:
raise errors.OpPrereqError("invalid boot order specified," raise errors.OpPrereqError("invalid boot order specified,"
" must be one or more of [acdn]") " must be one or more of [acdn]")
if self.op.start: if self.op.start:
self.instance_status = 'up' self.instance_status = 'up'
......
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