summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Ripton <dripton@redhat.com>2013-08-12 10:09:20 -0400
committerDavid Ripton <dripton@redhat.com>2013-08-12 10:09:20 -0400
commitbec54ac5fb6a190c98079537f63d2f0e17584d21 (patch)
treec968a2de9bc18957f9fe93061b47468bcbb65191
parent2efa0edaf921cc78a7fcfaf3eb3e2c0ca105aa83 (diff)
downloadoslo-bec54ac5fb6a190c98079537f63d2f0e17584d21.tar.gz
oslo-bec54ac5fb6a190c98079537f63d2f0e17584d21.tar.xz
oslo-bec54ac5fb6a190c98079537f63d2f0e17584d21.zip
Fix case error in qpid exchange type "direct"
Most places correctly have "direct", but one place has "Direct" instead, which is incorrect. Fixes bug #1211338 Change-Id: I2516317ff7f6ff18ee0a99a60d0c058ed309d4da
-rw-r--r--openstack/common/rpc/impl_qpid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rpc/impl_qpid.py b/openstack/common/rpc/impl_qpid.py
index 99c4619..e54beb4 100644
--- a/openstack/common/rpc/impl_qpid.py
+++ b/openstack/common/rpc/impl_qpid.py
@@ -320,7 +320,7 @@ class DirectPublisher(Publisher):
def __init__(self, conf, session, msg_id):
"""Init a 'direct' publisher."""
super(DirectPublisher, self).__init__(session, msg_id,
- {"type": "Direct"})
+ {"type": "direct"})
class TopicPublisher(Publisher):