Merge "Use get_rpc_transport instead of get_transport"

This commit is contained in:
Jenkins 2017-06-05 14:40:40 +00:00 committed by Gerrit Code Review
commit e36e216b04
2 changed files with 1 additions and 3 deletions

View File

@ -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
===============

View File

@ -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