Fix info method of ListenerSetupMixin

The listener of ListenerSetupMixin had an incorrect info implementation
that couldn't be called properly. This patch fixes the method signature.

Change-Id: I33153f04ce23474cfaffaa1db20b8582befa324d
This commit is contained in:
Thomas Herve 2014-06-26 17:21:12 +02:00
parent 3f9fc44bc6
commit 13fc9f251a
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class ListenerSetupMixin(object):
self._listener = messaging.get_notification_listener(
transport, targets, endpoints + [self], allow_requeue=True)
def info(self, ctxt, publisher_id, event_type, payload):
def info(self, ctxt, publisher_id, event_type, payload, metadata):
self._received_msgs += 1
if self._expect_messages == self._received_msgs:
# Check start() does nothing with a running listener