Fix notifier manager typos

notifer_conf -> notifier_conf

Change-Id: I9d28ad900f646301e8e11f4e7d07c52186de6735
This commit is contained in:
Trinh Nguyen 2018-08-09 16:20:57 +09:00
parent d3e958d739
commit 964cae63c5
1 changed files with 9 additions and 9 deletions

View File

@ -23,16 +23,16 @@ LOG = log.getLogger(__name__)
class NotificationManager(object):
def __init__(self):
notifer_conf = CONF.get('notifiers')
notifier_conf = CONF.get('notifiers')
self.driver = importutils.import_object(
notifer_conf.get('driver'),
notifer_conf.get('endpoint'),
notifer_conf.get('username'),
notifer_conf.get('password'),
notifer_conf.get('templates-dir'),
notifer_conf.get('notify-from'),
notifer_conf.get('notify-list'),
**notifer_conf.get('options')
notifier_conf.get('driver'),
notifier_conf.get('endpoint'),
notifier_conf.get('username'),
notifier_conf.get('password'),
notifier_conf.get('templates-dir'),
notifier_conf.get('notify-from'),
notifier_conf.get('notify-list'),
**notifier_conf.get('options')
)
def notify(self, nodes, status):