From 75a8fe55b3e0932539a6c22a54f387b9e9b3c4f0 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Tue, 7 Feb 2017 09:13:17 +0000 Subject: 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 --- yardstick/cmd/commands/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.2.3-korg