Merge "Remove deprecated oslo_messaging.get_transport"
This commit is contained in:
commit
8299f32d5e
|
@ -47,8 +47,7 @@ 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 = RequestContextSerializer(JsonPayloadSerializer())
|
||||
NOTIFIER = messaging.Notifier(TRANSPORT, serializer=serializer)
|
||||
|
||||
|
|
Loading…
Reference in New Issue