aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-01-11 10:42:32 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-01-11 10:42:32 +0000
commitcf7459ddc6d4e978b310bde8578bdaf47e7f1cfe (patch)
tree7e0efc547121ff893d38c46c46b4f39e43034d1b
parent708550dd0718abdad8862e2275cc8e025a7c55e3 (diff)
Bugfix: task_id parameter from API can not pass to yardstick core
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: I66439660ff116d83104e5ba4f040106ca73142e6 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 bd018bcab..b7f74c2e6 100644
--- a/yardstick/cmd/commands/task.py
+++ b/yardstick/cmd/commands/task.py
@@ -40,4 +40,4 @@ class TaskCommands(object):
action="store_true")
def do_start(self, args, **kwargs):
param = change_osloobj_to_paras(args)
- Task().start(param)
+ Task().start(param, **kwargs)