Remove deprecated oslo.messaging.get_transport
DeprecationWarning: Using function/method 'oslo_messaging.transport.get_transport()' is deprecated: use get_rpc_transport or get_notification_transport. Replace get_transport with get_notification_transport. Change-Id: I7282791cac28bea31daa78945ab2a4343d948f86
This commit is contained in:
@@ -36,7 +36,7 @@ class NotificationEndpoint(object):
|
||||
"""Error."""
|
||||
None
|
||||
|
||||
transport = oslo_messaging.get_transport(cfg.CONF)
|
||||
transport = oslo_messaging.get_notification_transport(cfg.CONF)
|
||||
targets = [oslo_messaging.Target(topic='notifications')]
|
||||
endpoints = [NotificationEndpoint()]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user