switch to topics when declaring notifier

topic kwarg is dead (for a while). long live topics.

Change-Id: Idd1eaccff9f32149a008606cad488c626dad1222
(cherry picked from commit d7c9cb3612)
This commit is contained in:
gord chung 2017-02-16 21:15:32 +00:00 committed by Julien Danjou
parent 8af268d32e
commit f311cd211e
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class Swift(object):
oslo_messaging.get_transport(cfg.CONF, url=conf.get('url')),
publisher_id='ceilometermiddleware',
driver=conf.get('driver', 'messagingv2'),
topic=conf.get('topic', 'notifications'))
topics=[conf.get('topic', 'notifications')])
self.metadata_headers = [h.strip().replace('-', '_').lower()
for h in conf.get(