diff --git a/lib/masterd/iallocator.py b/lib/masterd/iallocator.py index 566276342c39d7c5b0bfc27716fc166005eac3aa..e86097dc565b0314b5c4f786bd795add9e52c715 100644 --- a/lib/masterd/iallocator.py +++ b/lib/masterd/iallocator.py @@ -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 {