From 55c8595009429f6ab41cef45ea274a126429ea1f Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Mon, 22 Mar 2010 16:21:45 +0100 Subject: [PATCH] Watcher: fix some doc typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: RenΓ© Nussbaumer <rn@google.com> --- daemons/ganeti-watcher | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemons/ganeti-watcher b/daemons/ganeti-watcher index 050e78953..8e216c243 100755 --- a/daemons/ganeti-watcher +++ b/daemons/ganeti-watcher @@ -19,7 +19,7 @@ # 02110-1301, USA. -"""Tool to restart erronously downed virtual machines. +"""Tool to restart erroneously downed virtual machines. This program and set of classes implement a watchdog to restart virtual machines in a Ganeti cluster that have crashed or been killed @@ -75,7 +75,7 @@ def StartNodeDaemons(): """Start all the daemons that should be running on all nodes. """ - # on master or not, try to start the node dameon + # on master or not, try to start the node daemon utils.EnsureDaemon(constants.NODED) # start confd as well. On non candidates it will be in disabled mode. utils.EnsureDaemon(constants.CONFD) @@ -310,7 +310,7 @@ def GetClusterData(): class Watcher(object): - """Encapsulate the logic for restarting erronously halted virtual machines. + """Encapsulate the logic for restarting erroneously halted virtual machines. The calling program should periodically instantiate me and call Run(). This will traverse the list of instances, and make up to MAXTRIES attempts -- GitLab