summaryrefslogtreecommitdiffstats
path: root/openstack/common/rpc/impl_zmq.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-02-11 02:31:30 +0000
committerGerrit Code Review <review@openstack.org>2013-02-11 02:31:30 +0000
commit9c727b28e83f08dcd7d247546557af54428c2417 (patch)
treecefe6493d98de6ead4ca6f56fabc4e2efc718cb7 /openstack/common/rpc/impl_zmq.py
parent1febfc8132131f5961707b707324e6ff53bebf34 (diff)
parent4a1ec2169d0a75afffc61437735dfb3959530bc5 (diff)
downloadoslo-9c727b28e83f08dcd7d247546557af54428c2417.tar.gz
oslo-9c727b28e83f08dcd7d247546557af54428c2417.tar.xz
oslo-9c727b28e83f08dcd7d247546557af54428c2417.zip
Merge "Support testing args for LocalhostMatchMaker."
Diffstat (limited to 'openstack/common/rpc/impl_zmq.py')
-rw-r--r--openstack/common/rpc/impl_zmq.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/openstack/common/rpc/impl_zmq.py b/openstack/common/rpc/impl_zmq.py
index cd974e5..01114bc 100644
--- a/openstack/common/rpc/impl_zmq.py
+++ b/openstack/common/rpc/impl_zmq.py
@@ -772,8 +772,9 @@ def _get_ctxt():
return ZMQ_CTX
-def _get_matchmaker():
+def _get_matchmaker(*args, **kwargs):
global matchmaker
if not matchmaker:
- matchmaker = importutils.import_object(CONF.rpc_zmq_matchmaker)
+ matchmaker = importutils.import_object(
+ CONF.rpc_zmq_matchmaker, *args, **kwargs)
return matchmaker