Merge "Remove deprecated oslo_messaging.get_transport"

This commit is contained in:
Jenkins 2017-06-08 08:40:30 +00:00 committed by Gerrit Code Review
commit 8299f32d5e
1 changed files with 1 additions and 2 deletions

View File

@ -47,8 +47,7 @@ EXTRA_EXMODS = []
def init(conf):
global 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)
serializer = RequestContextSerializer(JsonPayloadSerializer())
NOTIFIER = messaging.Notifier(TRANSPORT, serializer=serializer)