summaryrefslogtreecommitdiffstats
path: root/yardstick/dispatcher/base.py
diff options
context:
space:
mode:
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):