Skip to content

Commit b521e96

Browse files
committed
pybind/mgr: Fix missing empty lines in mgr_module.py
The inline function documentation needs an empty line between description and metadata. Otherwise automethod from docs renders the metadata as text together with the description instead of rendering it as function metadata, e.g. parameters and return value. Signed-off-by: Ville Ojamo <[email protected]>
1 parent d37f602 commit b521e96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pybind/mgr/mgr_module.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2167,7 +2167,8 @@ def set_module_option_ex(self, module: str, key: str, val: OptionValue) -> None:
21672167
@API.expose
21682168
def set_localized_module_option(self, key: str, val: Optional[str]) -> None:
21692169
"""
2170-
Set localized configuration for this ceph-mgr instance
2170+
Set localized configuration for this ceph-mgr instance.
2171+
21712172
:param str key:
21722173
:param str val:
21732174
:return: str

0 commit comments

Comments
 (0)