Merge "Use messaging notifications transport instead of default"
This commit is contained in:
commit
ef07ad60b4
|
@ -331,7 +331,7 @@ def _get_notifier():
|
|||
if _notifier is None:
|
||||
host = CONF.default_publisher_id or socket.gethostname()
|
||||
try:
|
||||
transport = oslo_messaging.get_transport(CONF)
|
||||
transport = oslo_messaging.get_notification_transport(CONF)
|
||||
_notifier = oslo_messaging.Notifier(transport,
|
||||
"identity.%s" % host)
|
||||
except Exception:
|
||||
|
|
Loading…
Reference in New Issue