From 964cae63c5878f52d6d97d47a62bd4ee54e8d422 Mon Sep 17 00:00:00 2001 From: Trinh Nguyen Date: Thu, 9 Aug 2018 16:20:57 +0900 Subject: [PATCH] Fix notifier manager typos notifer_conf -> notifier_conf Change-Id: I9d28ad900f646301e8e11f4e7d07c52186de6735 --- freezer_dr/notifiers/common/manager.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/freezer_dr/notifiers/common/manager.py b/freezer_dr/notifiers/common/manager.py index 5665f22..1781e01 100644 --- a/freezer_dr/notifiers/common/manager.py +++ b/freezer_dr/notifiers/common/manager.py @@ -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):