[cli] Fix rally task import

We should allow to import workloads that don't have any iterations.
This may happen if context fails

Change-Id: I2d75a76bf8512bbd9e4a469b5d3f4e2598389e01
This commit is contained in:
Boris Pavlovic 2017-09-18 00:03:45 -07:00
parent c7515834cb
commit 353862c23b

View File

@ -107,7 +107,7 @@ OLD_TASK_RESULT_SCHEMA = {
"required": ["atomic_actions", "duration", "error",
"idle_duration"]
},
"minItems": 1
"minItems": 0
},
"load_duration": {
"type": "number",