Commit 6953756f authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Small style adjustment


Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 3d7d3a12
......@@ -253,8 +253,8 @@ class IAReqRelocate(IARequestBase):
raise errors.OpPrereqError("Can't relocate non-mirrored instances",
errors.ECODE_INVAL)
if instance.disk_template in constants.DTS_INT_MIRROR and \
len(instance.secondary_nodes) != 1:
if (instance.disk_template in constants.DTS_INT_MIRROR and
len(instance.secondary_nodes) != 1):
raise errors.OpPrereqError("Instance has not exactly one secondary node",
errors.ECODE_STATE)
......
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