Merge "Replace deprecated oslo.messaging.get_transport with get_notification_transport"
This commit is contained in:
commit
8a1b20e408
|
@ -60,7 +60,7 @@ class EventStreamerNeutron(EventStreamerBase):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
topic = cfg.CONF.oslo_messaging.event_stream_topic
|
topic = cfg.CONF.oslo_messaging.event_stream_topic
|
||||||
self.transport = oslo_messaging.get_transport(cfg.CONF)
|
self.transport = oslo_messaging.get_notification_transport(cfg.CONF)
|
||||||
self.target = oslo_messaging.Target(topic=topic, exchange="common",
|
self.target = oslo_messaging.Target(topic=topic, exchange="common",
|
||||||
namespace='control', fanout=False,
|
namespace='control', fanout=False,
|
||||||
version='1.0')
|
version='1.0')
|
||||||
|
|
Loading…
Reference in New Issue