Fix simulator's use of Notifier - use 'topics' not 'topic'

Change-Id: Id315418fcf517734b8136f8177c82951658fe794
Closes-Bug: 1673890
This commit is contained in:
Kenneth Giusti 2017-03-20 11:25:17 -04:00
parent 4f7198597e
commit 7ebf500ec5

View File

@ -457,7 +457,7 @@ class RPCClient(Client):
class NotifyClient(Client): class NotifyClient(Client):
def __init__(self, client_id, transport, topic, wait_after_msg): def __init__(self, client_id, transport, topic, wait_after_msg):
client = notify.Notifier(transport, driver='messaging', topic=topic) client = notify.Notifier(transport, driver='messaging', topics=topic)
client = client.prepare(publisher_id='publisher-%d' % client_id) client = client.prepare(publisher_id='publisher-%d' % client_id)
method = _notify method = _notify
super(NotifyClient, self).__init__(client_id, client, method, super(NotifyClient, self).__init__(client_id, client, method,