aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/core/task.py
diff options
context:
space:
mode:
authorKubi <jean.gaoliang@huawei.com>2017-07-05 02:59:40 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-05 02:59:40 +0000
commit3369461d0e51b22aa96e5bfd0d80b3f0f7f82c67 (patch)
treef8109db7faebb1cfaf724d4e9bfd6499ce2b8a3c /yardstick/benchmark/core/task.py
parente4f9020a21ed9508b177d9764e585bf7c88aa2c6 (diff)
parentb3c87ec90b519313530d6061aac03a09e8460e05 (diff)
Merge "unify pod keywork so api can easily used"
Diffstat (limited to 'yardstick/benchmark/core/task.py')
-rw-r--r--yardstick/benchmark/core/task.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/core/task.py b/yardstick/benchmark/core/task.py
index d1a4d7561..a985c86ef 100644
--- a/yardstick/benchmark/core/task.py
+++ b/yardstick/benchmark/core/task.py
@@ -385,7 +385,7 @@ class TaskParser(object): # pragma: no cover
def _get_task_para(self, task, cur_pod):
task_args = task.get('task_args', None)
if task_args is not None:
- task_args = task_args.get(cur_pod, None)
+ task_args = task_args.get(cur_pod, task_args.get('default'))
task_args_fnames = task.get('task_args_fnames', None)
if task_args_fnames is not None:
task_args_fnames = task_args_fnames.get(cur_pod, None)