Commit b296c810 authored by Michael Hanselmann's avatar Michael Hanselmann

QA: Update assertion for diskless instances

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarBernardo Dal Seno <bdalseno@google.com>
parent a90636b2
......@@ -134,8 +134,10 @@ def _GetInstanceInfo(instance):
drbd_min[node].append(minor)
else:
drbd_min[node] = [minor]
assert vols
assert nodes
assert len(nodes) < 2 or vols
return {
"nodes": nodes,
"volumes": vols,
......
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