Commit 3cf06dd4 authored by Jose A. Lopes's avatar Jose A. Lopes
Browse files

Fix docstrings



Fix several docstrings.
Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
parent a16ffac0
#
#
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Google Inc.
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Google Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -136,6 +136,10 @@ def _StoreInstReasonTrail(instance_name, trail):
@type instance_name: string
@param instance_name: The name of the instance
@type trail: list of reasons
@param trail: reason trail
@rtype: None
"""
......@@ -3623,7 +3627,7 @@ def _CheckOSPList(os_obj, parameters):
def ValidateOS(required, osname, checks, osparams):
"""Validate the given OS' parameters.
"""Validate the given OS parameters.
@type required: boolean
@param required: whether absence of the OS should translate into
......
......@@ -376,7 +376,7 @@ def CheckOSParams(lu, required, node_uuids, osname, osparams):
@type node_uuids: list
@param node_uuids: the list of nodes on which we should check
@type osname: string
@param osname: the name of the hypervisor we should use
@param osname: the name of the OS we should use
@type osparams: dict
@param osparams: the parameters which we need to check
@raise errors.OpPrereqError: if the parameters are not valid
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment