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:
parent
8af268d32e
commit
f311cd211e
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue