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:
parent
3f9fc44bc6
commit
13fc9f251a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user