Fix the notifier example
The notifier should be instantiated using messaging.Notifier, not notifier.Notifier. Change-Id: Id1930df6b758b292a7591e2e4cba2ef5a313a3cb
This commit is contained in:
parent
e0730983ee
commit
244a90278b
|
@ -72,7 +72,7 @@ class Notifier(object):
|
|||
A Notifier object can be instantiated with a transport object and a
|
||||
publisher ID:
|
||||
|
||||
notifier = notifier.Notifier(get_transport(CONF), 'compute')
|
||||
notifier = messaging.Notifier(get_transport(CONF), 'compute')
|
||||
|
||||
and notifications are sent via drivers chosen with the notification_driver
|
||||
config option and on the topics chosen with the notification_topics config
|
||||
|
|
Loading…
Reference in New Issue