From 176d3122d00113cb8425b92dc1923b122b9b5468 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Fri, 28 Aug 2009 15:07:01 +0300
Subject: [PATCH] confd: s/confd_event_handler/inotify_handler/

In a case we don't encounter frequently (file modified but not
overwritten) the notify handler we use is called with a wrong name.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 daemons/ganeti-confd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemons/ganeti-confd b/daemons/ganeti-confd
index 92170cd1e..c8c5a48a7 100755
--- a/daemons/ganeti-confd
+++ b/daemons/ganeti-confd
@@ -230,7 +230,7 @@ class ConfdConfigurationReloader(object):
       logging.debug("Moving from inotify mode to polling mode")
       self.polling = True
       if notifier_enabled:
-        self.confd_event_handler.disable()
+        self.inotify_handler.disable()
 
     if not self.polling and not notifier_enabled:
       try:
-- 
GitLab