diff --git a/scripts/gnt-cluster b/scripts/gnt-cluster index 55b46a1700f1dbefe6a2ee6cdba4ecb256bcfdc3..31e64259c6afbd2a07085f1727c3994064ca4deb 100755 --- a/scripts/gnt-cluster +++ b/scripts/gnt-cluster @@ -236,7 +236,7 @@ def VerifyDisks(opts, args): """ op = opcodes.OpVerifyDisks() result = SubmitOpCode(op) - if not isinstance(result, tuple) or len(result) != 4: + if not isinstance(result, (list, tuple)) or len(result) != 4: raise errors.ProgrammerError("Unknown result type for OpVerifyDisks") nodes, nlvm, instances, missing = result