aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/dispatcher/base.py
diff options
context:
space:
mode:
authorRex Lee <limingjiang@huawei.com>2017-03-09 01:25:03 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-09 01:25:03 +0000
commitcd393f1255f09c836461be06edee7e950081fe7e (patch)
tree1ed7a5778c6ae9234d3148f34066f51b0186d7c6 /yardstick/dispatcher/base.py
parent8b8d99ac86d62e1816353b1eccf0811aed965d7f (diff)
parentaf3478e95314b5147c7837831dc8113d552ba067 (diff)
Merge "Bugfix: yardstick will create stacks with the same name when run using API in parallel"
Diffstat (limited to 'yardstick/dispatcher/base.py')
-rw-r--r--yardstick/dispatcher/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yardstick/dispatcher/base.py b/yardstick/dispatcher/base.py
index 09ce8d1e8..a1c858297 100644
--- a/yardstick/dispatcher/base.py
+++ b/yardstick/dispatcher/base.py
@@ -38,10 +38,10 @@ class Base(object):
raise RuntimeError("No such dispatcher_type %s" % dispatcher_type)
@staticmethod
- def get(config):
+ def get(conf, config):
"""Returns instance of a dispatcher for dispatcher type.
"""
- return Base.get_cls(config["type"])(config)
+ return Base.get_cls(conf["type"])(conf, config)
@abc.abstractmethod
def record_result_data(self, data):