From d66bbe9fd8b49ee27f8c82ddc8f45eac29d4d75e Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 2 Aug 2011 08:58:27 +0200
Subject: [PATCH] Fix doclint failures

Commit 54ca6e4b2 renamed some arguments, but didn't also renames them
in the docstrings.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 lib/watcher/state.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/watcher/state.py b/lib/watcher/state.py
index 776ea6830..34630f499 100644
--- a/lib/watcher/state.py
+++ b/lib/watcher/state.py
@@ -151,8 +151,8 @@ class WatcherState(object):
   def NumberOfRestartAttempts(self, instance_name):
     """Returns number of previous restart attempts.
 
-    @type instance: L{Instance}
-    @param instance: the instance to look up
+    @type instance_name: string
+    @param instance_name: the name of the instance to look up
 
     """
     idata = self._data["instance"]
@@ -188,8 +188,8 @@ class WatcherState(object):
   def RecordRestartAttempt(self, instance_name):
     """Record a restart attempt.
 
-    @type instance: L{Instance}
-    @param instance: the instance being restarted
+    @type instance_name: string
+    @param instance_name: the name of the instance being restarted
 
     """
     idata = self._data["instance"]
@@ -204,8 +204,8 @@ class WatcherState(object):
     This method removes the record for a named instance (as we only
     track down instances).
 
-    @type instance: L{Instance}
-    @param instance: the instance to remove from books
+    @type instance_name: string
+    @param instance_name: the name of the instance to remove from books
 
     """
     idata = self._data["instance"]
-- 
GitLab