Merge "Remove deprecated oslo_messaging.get_transport"

This commit is contained in:
Jenkins 2017-06-17 23:35:09 +00:00 committed by Gerrit Code Review
commit b8079d6f70
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ EXTRA_EXMODS = []
def init(conf):
global TRANSPORT, NOTIFICATION_TRANSPORT, NOTIFIER
exmods = get_allowed_exmods()
TRANSPORT = messaging.get_transport(conf,
allowed_remote_exmods=exmods)
TRANSPORT = messaging.get_rpc_transport(conf,
allowed_remote_exmods=exmods)
NOTIFICATION_TRANSPORT = messaging.get_notification_transport(
conf,
allowed_remote_exmods=exmods)