Navigation Menu

Skip to content

Commit

Permalink
Function uses 'msg' not 'message'
Browse files Browse the repository at this point in the history
Fixes bug 932986

Change-Id: Iafc70145b7bc9d71fef19db0f303a65468b934cb
  • Loading branch information
Johannes Erdfelt committed Feb 15, 2012
1 parent bd4d632 commit 59ca8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glance/notifier/notify_kombu.py
Expand Up @@ -171,7 +171,7 @@ def log_failure(self, msg, priority):

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):
Expand Down

0 comments on commit 59ca8b0

Please sign in to comment.