Use get_rpc_transport instead of get_transport

With the added get_rpc_transport() function in oslo.messaging
and the recent version bump of oslo.messaging to 5.24.2, we can
safely replace get_transport() with get_rpc_transport() which is much
cleaner.

Change-Id: If458dde8ce617485adc00dab9da4e72630ae6267
This commit is contained in:
deepakmourya 2017-06-07 14:59:32 +05:30 committed by Deepak Mourya
parent 00969f0bf2
commit 188173a807
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ EXTRA_EXMODS = []
def init(conf):
global TRANSPORT
exmods = get_allowed_exmods()
TRANSPORT = messaging.get_transport(conf,
TRANSPORT = messaging.get_rpc_transport(conf,
allowed_remote_exmods=exmods)