Fix the deprecated usage of "get_transport"
As log says, 'oslo_messaging.transport.get_transport()' is deprecated. The reference link of oslo_messaging is at [1]. [1] https://review.openstack.org/#/c/454194/ Change-Id: I4b5a798140496da63837d6653c4dc998cc699607
This commit is contained in:
parent
650bd8f5fc
commit
c27218fc23
|
@ -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__, ])
|
||||
|
|
Loading…
Reference in New Issue