Skip to content
Snippets Groups Projects
Commit 32eae1ec authored by René Nussbaumer's avatar René Nussbaumer
Browse files

Fix REQ_RESULT for MultiInstanceAllocRequest


Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 69b0d82a
No related branches found
No related tags found
No related merge requests found
......@@ -216,8 +216,8 @@ class IAReqMultiInstanceAlloc(IARequestBase):
ht.TListOf(ht.TNonEmptyString),
])))
_MAFAILED = ht.TListOf(ht.TNonEmptyString)
REQ_RESULT = ht.TListOf(ht.TAnd(ht.TIsLength(2),
ht.TItems([_MASUCCESS, _MAFAILED])))
REQ_RESULT = ht.TAnd(ht.TList, ht.TIsLength(2),
ht.TItems([_MASUCCESS, _MAFAILED]))
def GetRequest(self, cfg):
return {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment