load manager tool fix
Depends-On: I428d04598910edfe67e8b8deb608bcf1233d672d Change-Id: I09468f503ab65b4ec7d995db42a61ab147e2be1f
This commit is contained in:
parent
7ddedcc31f
commit
6dc1e3aa0d
@ -63,12 +63,12 @@ class StressNotificationsService(os_service.Service):
|
|||||||
def __init__(self, conf):
|
def __init__(self, conf):
|
||||||
super(StressNotificationsService, self).__init__()
|
super(StressNotificationsService, self).__init__()
|
||||||
self.oslo_notifier = None
|
self.oslo_notifier = None
|
||||||
topic = conf.datasources.notification_topic
|
topics = conf.datasources.notification_topics
|
||||||
self.oslo_notifier = oslo_messaging.Notifier(
|
self.oslo_notifier = oslo_messaging.Notifier(
|
||||||
get_transport(conf),
|
get_transport(conf),
|
||||||
driver='messagingv2',
|
driver='messagingv2',
|
||||||
publisher_id='vitrage.stress',
|
publisher_id='vitrage.stress',
|
||||||
topics=[topic])
|
topics=topics)
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
super(StressNotificationsService, self).start()
|
super(StressNotificationsService, self).start()
|
||||||
|
Loading…
Reference in New Issue
Block a user