Revision dcde0241
b/scripts/gnt-cluster | ||
---|---|---|
236 | 236 |
""" |
237 | 237 |
op = opcodes.OpVerifyDisks() |
238 | 238 |
result = SubmitOpCode(op) |
239 |
if not isinstance(result, tuple) or len(result) != 4:
|
|
239 |
if not isinstance(result, (list, tuple)) or len(result) != 4:
|
|
240 | 240 |
raise errors.ProgrammerError("Unknown result type for OpVerifyDisks") |
241 | 241 |
|
242 | 242 |
nodes, nlvm, instances, missing = result |
Also available in: Unified diff