diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-08-01 19:13:51 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-08-01 19:13:51 +0000 |
| commit | 079927a6d8953377d1923269213cdbdadc3633c1 (patch) | |
| tree | d47ffed1ddcb3e9166fba35e0f4d3e80fd21abcb /openstack/common | |
| parent | c892991c2d666be7479c077d09094ad631cf1b08 (diff) | |
| parent | 8557af7bc0a12b6981b18c71915434562cd1431f (diff) | |
| download | oslo-079927a6d8953377d1923269213cdbdadc3633c1.tar.gz oslo-079927a6d8953377d1923269213cdbdadc3633c1.tar.xz oslo-079927a6d8953377d1923269213cdbdadc3633c1.zip | |
Merge "Remove bogus conf argument from create_consumer()"
Diffstat (limited to 'openstack/common')
| -rw-r--r-- | openstack/common/rpc/common.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/openstack/common/rpc/common.py b/openstack/common/rpc/common.py index 2e15c3e..d2a1cf1 100644 --- a/openstack/common/rpc/common.py +++ b/openstack/common/rpc/common.py @@ -108,7 +108,7 @@ class Connection(object): """ raise NotImplementedError() - def create_consumer(self, conf, topic, proxy, fanout=False): + def create_consumer(self, topic, proxy, fanout=False): """Create a consumer on this connection. A consumer is associated with a message queue on the backend message @@ -117,7 +117,6 @@ class Connection(object): off of the queue will determine which method gets called on the proxy object. - :param conf: An openstack.common.cfg configuration object. :param topic: This is a name associated with what to consume from. Multiple instances of a service may consume from the same topic. For example, all instances of nova-compute consume @@ -133,7 +132,7 @@ class Connection(object): """ raise NotImplementedError() - def create_worker(self, conf, topic, proxy, pool_name): + def create_worker(self, topic, proxy, pool_name): """Create a worker on this connection. A worker is like a regular consumer of messages directed to a @@ -143,7 +142,6 @@ class Connection(object): be asked to process it. Load is distributed across the members of the pool in round-robin fashion. - :param conf: An openstack.common.cfg configuration object. :param topic: This is a name associated with what to consume from. Multiple instances of a service may consume from the same topic. |
