diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-11-05 21:24:05 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-11-05 21:24:05 +0000 |
| commit | 4ba119c8f108b3e26e29a577b0d0085e47488a70 (patch) | |
| tree | 7b1fea56d6d69746ce5c87318e228c31a9f68cd1 /openstack | |
| parent | 37ada8bdb190f8e043003a41f67fff706cde332b (diff) | |
| parent | 2f7503372467d9998b67e2c58ffaf51733329944 (diff) | |
| download | oslo-4ba119c8f108b3e26e29a577b0d0085e47488a70.tar.gz oslo-4ba119c8f108b3e26e29a577b0d0085e47488a70.tar.xz oslo-4ba119c8f108b3e26e29a577b0d0085e47488a70.zip | |
Merge "Tweak rpc.queue_get_for to deal with host=None."
Diffstat (limited to 'openstack')
| -rw-r--r-- | openstack/common/rpc/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rpc/__init__.py b/openstack/common/rpc/__init__.py index da45d5a..f84c493 100644 --- a/openstack/common/rpc/__init__.py +++ b/openstack/common/rpc/__init__.py @@ -250,7 +250,7 @@ def queue_get_for(context, topic, host): Messages sent to the 'foo.<host>' topic are sent to the nova-foo service on <host>. """ - return '%s.%s' % (topic, host) + return '%s.%s' % (topic, host) if host else topic _RPCIMPL = None |
