Merge "Replace deprecated oslo.messaging.get_transport with get_notification_transport"

This commit is contained in:
Jenkins 2017-06-05 19:23:28 +00:00 committed by Gerrit Code Review
commit 8a1b20e408
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class EventStreamerNeutron(EventStreamerBase):
def __init__(self):
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",
namespace='control', fanout=False,
version='1.0')