load manager tool fix

Depends-On: I428d04598910edfe67e8b8deb608bcf1233d672d
Change-Id: I09468f503ab65b4ec7d995db42a61ab147e2be1f
This commit is contained in:
Idan Hefetz 2017-12-13 06:54:05 +00:00 committed by Eyal
parent 7ddedcc31f
commit 6dc1e3aa0d

View File

@ -63,12 +63,12 @@ class StressNotificationsService(os_service.Service):
def __init__(self, conf):
super(StressNotificationsService, self).__init__()
self.oslo_notifier = None
topic = conf.datasources.notification_topic
topics = conf.datasources.notification_topics
self.oslo_notifier = oslo_messaging.Notifier(
get_transport(conf),
driver='messagingv2',
publisher_id='vitrage.stress',
topics=[topic])
topics=topics)
def start(self):
super(StressNotificationsService, self).start()