Commit af9fb4cc authored by René Nussbaumer's avatar René Nussbaumer
Browse files

apidoc: Fix some typos and errors introduced by my previous patches


Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 5ff82cc9
......@@ -4530,7 +4530,7 @@ def _BlockdevFind(lu, node, dev, instance):
 
 
def _CheckDiskConsistency(lu, instance, dev, node, on_primary, ldisk=False):
"""Wrapper around L{_CheckDiskConistencyInner}.
"""Wrapper around L{_CheckDiskConsistencyInner}.
 
"""
(disk,) = _AnnotateDiskParams(instance, [dev], lu.cfg)
......
......@@ -248,7 +248,7 @@ class ConfigWriter:
def GetGroupDiskParams(self, group):
"""Get the disk params populated with inherit chain.
@type group: L{objects.Group}
@type group: L{objects.NodeGroup}
@param group: The group we want to know the params for
@return: A dict with the filled in disk params
......@@ -258,7 +258,7 @@ class ConfigWriter:
def _UnlockedGetGroupDiskParams(self, group):
"""Get the disk params populated with inherit chain down to node-group.
@type group: L{objects.Group}
@type group: L{objects.NodeGroup}
@param group: The group we want to know the params for
@return: A dict with the filled in disk params
......
......@@ -115,7 +115,7 @@ def FillIPolicy(default_ipolicy, custom_ipolicy, skip_keys=None):
def FillDiskParams(default_dparams, custom_dparams, skip_keys=None):
"""Fills the disk parameter defaults.
@see FillDict: For parameters and return value
@see: L{FillDict} for parameters and return value
"""
assert frozenset(default_dparams.keys()) == constants.DISK_TEMPLATES
......
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