Merge "Use get_rpc_transport instead of get_transport"

This commit is contained in:
Jenkins 2017-09-27 17:26:10 +00:00 committed by Gerrit Code Review
commit ce5e7f4db8
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ 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)