From: chenjiankun Date: Wed, 11 Jan 2017 10:42:32 +0000 (+0000) Subject: Bugfix: task_id parameter from API can not pass to yardstick core X-Git-Tag: danube.1.0~127^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F26863%2F1;p=yardstick.git 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 --- 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)