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:
parent
3603c76f6e
commit
4b57eeed13
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user