Merge "Fix the depreciate warning of get_transport"
This commit is contained in:
commit
b5868e8be7
|
@ -40,7 +40,7 @@ def get_transport():
|
|||
global _TRANSPORT
|
||||
|
||||
if not _TRANSPORT:
|
||||
_TRANSPORT = messaging.get_transport(cfg.CONF)
|
||||
_TRANSPORT = messaging.get_rpc_transport(cfg.CONF)
|
||||
|
||||
return _TRANSPORT
|
||||
|
||||
|
|
Loading…
Reference in New Issue