Merge "Use get_rpc_transport instead of get_transport"

This commit is contained in:
Zuul 2017-11-06 07:09:27 +00:00 committed by Gerrit Code Review
commit bf66281f52
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,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 = sz.TroveRequestContextSerializer(
messaging.JsonPayloadSerializer())