From 6dc1e3aa0d3cc0c0c38a81f7faf3f5bbd76a22b0 Mon Sep 17 00:00:00 2001 From: Idan Hefetz Date: Wed, 13 Dec 2017 06:54:05 +0000 Subject: [PATCH] load manager tool fix Depends-On: I428d04598910edfe67e8b8deb608bcf1233d672d Change-Id: I09468f503ab65b4ec7d995db42a61ab147e2be1f --- tools/load_generator/load_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/load_generator/load_generator.py b/tools/load_generator/load_generator.py index b7b8b1a55..8ae1a94cf 100644 --- a/tools/load_generator/load_generator.py +++ b/tools/load_generator/load_generator.py @@ -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()