Fix the notifier example

The notifier should be instantiated using messaging.Notifier, not
notifier.Notifier.

Change-Id: Id1930df6b758b292a7591e2e4cba2ef5a313a3cb
This commit is contained in:
Gauvain Pocentek 2014-06-22 09:45:10 +02:00
parent e0730983ee
commit 244a90278b
1 changed files with 1 additions and 1 deletions

View File

@ -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