Commit 4c405df7 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix empty list as default value in OpInstanceMultiAlloc

Commit 12e62af5

 (“Adding the new opcode for multi-allocation”)
introduced a "bad" default value; while porting this to Haskell, I
realised this is wrong.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 6d558717
......@@ -1299,7 +1299,7 @@ class OpInstanceMultiAlloc(OpCode):
("iallocator", None, ht.TMaybeString,
"Iallocator used to allocate all the instances"),
("instances", [], ht.TListOf(ht.TInstanceOf(OpInstanceCreate)),
("instances", ht.EmptyList, ht.TListOf(ht.TInstanceOf(OpInstanceCreate)),
"List of instance create opcodes describing the instances to allocate"),
_JOB_LIST = ht.Comment("List of submitted jobs")(TJobIdList)
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