diff --git a/glance/notifier/notify_kombu.py b/glance/notifier/notify_kombu.py index bcdabc54..6a56fbae 100644 --- a/glance/notifier/notify_kombu.py +++ b/glance/notifier/notify_kombu.py @@ -171,7 +171,7 @@ class RabbitStrategy(strategy.Strategy): def _send_message(self, msg, routing_key): """Send a message. Caller needs to catch exceptions for retry.""" - msg = self.exchange.Message(json.dumps(message)) + msg = self.exchange.Message(json.dumps(msg)) self.exchange.publish(msg, routing_key=routing_key) def _notify(self, msg, priority):