Merge "switch to topics when declaring notifier"
This commit is contained in:
commit
6ba005fa6b
|
@ -124,7 +124,7 @@ class Swift(object):
|
||||||
oslo_messaging.get_transport(cfg.CONF, url=conf.get('url')),
|
oslo_messaging.get_transport(cfg.CONF, url=conf.get('url')),
|
||||||
publisher_id='ceilometermiddleware',
|
publisher_id='ceilometermiddleware',
|
||||||
driver=conf.get('driver', 'messagingv2'),
|
driver=conf.get('driver', 'messagingv2'),
|
||||||
topic=conf.get('topic', 'notifications'))
|
topics=[conf.get('topic', 'notifications')])
|
||||||
|
|
||||||
self.metadata_headers = [h.strip().replace('-', '_').lower()
|
self.metadata_headers = [h.strip().replace('-', '_').lower()
|
||||||
for h in conf.get(
|
for h in conf.get(
|
||||||
|
|
Loading…
Reference in New Issue