]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
replace deprecated oslo_messaging _impl_messaging
authorJaveme <zhangmei.li@easystack.cn>
Fri, 18 Dec 2015 12:48:54 +0000 (20:48 +0800)
committerJaveme <zhangmei.li@easystack.cn>
Fri, 18 Dec 2015 12:56:32 +0000 (20:56 +0800)
Use oslo_messaging.notify.messaging instead of the deprecated
oslo_messaging.notify._impl_messaging.

ref:
https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/
notify/_impl_messaging.py#L20

Change-Id: If3ed473ca88e2371473119eb20b61a8a58fdeb12

setup.cfg

index ee7c01964a324632994d46541c530a7fbefeafd7..8d8ea3123965946114a8c71a35fdf2940f6bd93a 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -63,8 +63,8 @@ wsgi_scripts =
 oslo_messaging.notify.drivers =
     cinder.openstack.common.notifier.log_notifier = oslo_messaging.notify._impl_log:LogDriver
     cinder.openstack.common.notifier.no_op_notifier = oslo_messaging.notify._impl_noop:NoOpDriver
-    cinder.openstack.common.notifier.rpc_notifier2 = oslo_messaging.notify._impl_messaging:MessagingV2Driver
-    cinder.openstack.common.notifier.rpc_notifier = oslo_messaging.notify._impl_messaging:MessagingDriver
+    cinder.openstack.common.notifier.rpc_notifier2 = oslo_messaging.notify.messaging:MessagingV2Driver
+    cinder.openstack.common.notifier.rpc_notifier = oslo_messaging.notify.messaging:MessagingDriver
     cinder.openstack.common.notifier.test_notifier = oslo_messaging.notify._impl_test:TestDriver
 # These are for backwards compatibility with Juno middleware configurations
 oslo_middleware =