Merge "Fix the deprecated usage of "get_transport""

This commit is contained in:
Zuul 2017-12-09 05:05:39 +00:00 committed by Gerrit Code Review
commit 895afb5e51
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class DseNode(object):
# TODO(dse2): add detection and logging/rectifying for node_id clash?
access_policy = dispatcher.DefaultRPCAccessPolicy
self.context = self._message_context()
self.transport = messaging.get_transport(
self.transport = messaging.get_rpc_transport(
self.messaging_config,
allowed_remote_exmods=[exception.__name__, dispatcher.__name__,
db_exc.__name__, ])