summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-02-07 09:13:17 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-02-10 14:22:13 +0000
commit75a8fe55b3e0932539a6c22a54f387b9e9b3c4f0 (patch)
tree5235333d04a3d5f0d4f5af54a8ac7bfc504819b7
parent1787d1f400118de3f6bd60bc968cea39b181923e (diff)
Bux: task_id parameter from API can not pass to yardstick core
JIRA: JIRA: YARDSTICK-531 Now in API entry the task_id parameter will not pass to yardstick core. I fix it by pass task_id to yardstick.benchmark.core.task.start() method. Change-Id: Icf58f2f68549ca3314d6ec0f118b360537126d41 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
-rw-r--r--yardstick/cmd/commands/task.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/cmd/commands/task.py b/yardstick/cmd/commands/task.py
index 20ab086e5..57c2b1526 100644
--- a/yardstick/cmd/commands/task.py
+++ b/yardstick/cmd/commands/task.py
@@ -48,7 +48,7 @@ class TaskCommands(object):
self._init_result_file()
try:
- Task().start(param)
+ Task().start(param, **kwargs)
except Exception as e:
self._write_error_data(e)