Use lowercase priority in notifications topic

This commit is contained in:
Mark McLoughlin 2013-06-24 12:02:46 +01:00
parent 4000eec07c
commit 54d875bcac

@ -39,6 +39,7 @@ class MessagingDriver(notifier._Driver):
self.envelope = envelope
def notify(self, ctxt, message, priority):
priority = priority.lower()
for topic in self.topics:
target = messaging.Target(topic='%s.%s' % (topic, priority))
try: