Merge "switch to topics when declaring notifier"

This commit is contained in:
Jenkins 2017-02-21 14:52:55 +00:00 committed by Gerrit Code Review
commit 6ba005fa6b
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(