Remove deprecated oslo_messaging.get_transport
DeprecationWarning: Using function/method 'oslo_messaging.transport.get_transport()' is deprecated: use get_rpc_transport or get_notification_transport. Replace get_transport with get_rpc_transport. Change-Id: Ibf59ca7f7452dba94d8d60a66601bcd088a77593
This commit is contained in:
parent
bbf2116abe
commit
c0ed9a9ec2
@ -55,8 +55,8 @@ EXTRA_EXMODS = []
|
||||
def init(conf):
|
||||
global TRANSPORT, NOTIFICATION_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)
|
||||
NOTIFICATION_TRANSPORT = messaging.get_notification_transport(
|
||||
conf,
|
||||
allowed_remote_exmods=exmods)
|
||||
|
Loading…
Reference in New Issue
Block a user