Fix some reST field lists in docstrings in magnum
Probably the most common format for documenting arguments is reST field lists [1]. This change updates some docstrings to comply with the field lists syntax. [1] http://sphinx-doc.org/domains.html#info-field-lists Change-Id: Ic19c5927e9998114a09cda058780be8a1243c8b9
This commit is contained in:
parent
8f34a45c0a
commit
b0bc30ab1a
|
@ -170,12 +170,12 @@ class TemplateDefinition(object):
|
|||
"""Returns stack param name.
|
||||
|
||||
Return stack param name using cluster and cluster_template attributes
|
||||
:param cluster_attr cluster attribute from which it maps to stack
|
||||
:param cluster_attr: cluster attribute from which it maps to stack
|
||||
attribute
|
||||
:param cluster_template_attr cluster_template attribute from which it
|
||||
:param cluster_template_attr: cluster_template attribute from which it
|
||||
maps to stack attribute
|
||||
|
||||
:return stack parameter name or None
|
||||
:return: stack parameter name or None
|
||||
"""
|
||||
for mapping in self.param_mappings:
|
||||
if (mapping.cluster_attr == cluster_attr and
|
||||
|
|
Loading…
Reference in New Issue