Revision d66bbe9f lib/watcher/state.py

b/lib/watcher/state.py
151 151
  def NumberOfRestartAttempts(self, instance_name):
152 152
    """Returns number of previous restart attempts.
153 153

  
154
    @type instance: L{Instance}
155
    @param instance: the instance to look up
154
    @type instance_name: string
155
    @param instance_name: the name of the instance to look up
156 156

  
157 157
    """
158 158
    idata = self._data["instance"]
......
188 188
  def RecordRestartAttempt(self, instance_name):
189 189
    """Record a restart attempt.
190 190

  
191
    @type instance: L{Instance}
192
    @param instance: the instance being restarted
191
    @type instance_name: string
192
    @param instance_name: the name of the instance being restarted
193 193

  
194 194
    """
195 195
    idata = self._data["instance"]
......
204 204
    This method removes the record for a named instance (as we only
205 205
    track down instances).
206 206

  
207
    @type instance: L{Instance}
208
    @param instance: the instance to remove from books
207
    @type instance_name: string
208
    @param instance_name: the name of the instance to remove from books
209 209

  
210 210
    """
211 211
    idata = self._data["instance"]

Also available in: Unified diff