From cf7459ddc6d4e978b310bde8578bdaf47e7f1cfe Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Wed, 11 Jan 2017 10:42:32 +0000 Subject: 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 --- yardstick/cmd/commands/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yardstick/cmd') 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) -- cgit 1.2.3-korg