summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-17 23:35:09 +0000
committerGerrit Code Review <review@openstack.org>2017-06-17 23:35:09 +0000
commitb8079d6f70048bee196924742970ac45e74d26f4 (patch)
tree7053f984ce3f772a92e10c1b48818359294f530c
parent241ac33a2be712e0d4f06573382ddcc5e32d1712 (diff)
parentc0ed9a9ec274a829150387acffcf4215ea3ecf37 (diff)
Merge "Remove deprecated oslo_messaging.get_transport"
-rw-r--r--cinder/rpc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cinder/rpc.py b/cinder/rpc.py
index 27bdf52..527ea89 100644
--- a/cinder/rpc.py
+++ b/cinder/rpc.py
@@ -55,8 +55,8 @@ EXTRA_EXMODS = []
55def init(conf): 55def init(conf):
56 global TRANSPORT, NOTIFICATION_TRANSPORT, NOTIFIER 56 global TRANSPORT, NOTIFICATION_TRANSPORT, NOTIFIER
57 exmods = get_allowed_exmods() 57 exmods = get_allowed_exmods()
58 TRANSPORT = messaging.get_transport(conf, 58 TRANSPORT = messaging.get_rpc_transport(conf,
59 allowed_remote_exmods=exmods) 59 allowed_remote_exmods=exmods)
60 NOTIFICATION_TRANSPORT = messaging.get_notification_transport( 60 NOTIFICATION_TRANSPORT = messaging.get_notification_transport(
61 conf, 61 conf,
62 allowed_remote_exmods=exmods) 62 allowed_remote_exmods=exmods)