Construct ZmqListener with correct arguments

The ZmqListener constructor only accepts a driver as an argument.

Drop surplus 'None' in listen_for_notifications method.

Change-Id: I6aec91122bb9406e387728eb2a2380f2c2094595
Closes-Bug: #1368154
This commit is contained in:
James Page 2014-09-11 12:13:30 +01:00
parent 3603c76f6e
commit 4b57eeed13
1 changed files with 1 additions and 1 deletions

View File

@ -980,7 +980,7 @@ class ZmqDriver(base.BaseDriver):
# because zeromq doesn't support requeing message
conn = create_connection(self.conf)
listener = ZmqListener(self, None)
listener = ZmqListener(self)
for target, priority in targets_and_priorities:
# NOTE(ewindisch): dot-priority in rpc notifier does not
# work with our assumptions.