Merge "Use get_rpc_transport instead of get_transport"
This commit is contained in:
commit
e36e216b04
2
TODO.rst
2
TODO.rst
@ -35,8 +35,6 @@ POLICY
|
||||
MISC
|
||||
----
|
||||
- Remove all usage of enforce_type when calling oslo.config set_override().
|
||||
- Change messaging.get_transport to get_rpc_transport
|
||||
-
|
||||
|
||||
MIDDLE PRIORITY
|
||||
===============
|
||||
|
@ -74,7 +74,7 @@ def setup(url=None, optional=False):
|
||||
if not TRANSPORT:
|
||||
exmods = ['senlin.common.exception']
|
||||
try:
|
||||
TRANSPORT = messaging.get_transport(
|
||||
TRANSPORT = messaging.get_rpc_transport(
|
||||
cfg.CONF, url, allowed_remote_exmods=exmods)
|
||||
except messaging.InvalidTransportURL as e:
|
||||
TRANSPORT = None
|
||||
|
Loading…
Reference in New Issue
Block a user