summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Santa Barbara <justin@fathomdb.com>2011-02-22 15:05:48 -0800
committerJustin Santa Barbara <justin@fathomdb.com>2011-02-22 15:05:48 -0800
commitf4289df0e58080d6d9fa381915bbd0d29f3b9751 (patch)
treecf3ab5b4ba7b427c03e9de2990ccc1ba06576080
parent3180d5dcf928f3c47e318b41affbc956bd5e2174 (diff)
We're not using prefix matching on AMQP, so fakerabbit shouldn't be doing it!
-rw-r--r--nova/fakerabbit.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/fakerabbit.py b/nova/fakerabbit.py
index dd82a9366..a7dee8caf 100644
--- a/nova/fakerabbit.py
+++ b/nova/fakerabbit.py
@@ -48,7 +48,6 @@ class Exchange(object):
nm = self.name
LOG.debug(_('(%(nm)s) publish (key: %(routing_key)s)'
' %(message)s') % locals())
- routing_key = routing_key.split('.')[0]
if routing_key in self._routes:
for f in self._routes[routing_key]:
LOG.debug(_('Publishing to route %s'), f)