]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr: Fix missing empty lines in mgr_module.py 62785/head
authorVille Ojamo <14869000+bluikko@users.noreply.github.com>
Fri, 11 Apr 2025 14:54:28 +0000 (21:54 +0700)
committerVille Ojamo <14869000+bluikko@users.noreply.github.com>
Mon, 28 Apr 2025 08:17:53 +0000 (15:17 +0700)
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 <14869000+bluikko@users.noreply.github.com>
src/pybind/mgr/mgr_module.py

index 7cc2ceeddba738862dedcddd260692a660c20c24..9487d9be0170b7e2d109e45e8a67252fe9927cee 100644 (file)
@@ -2167,7 +2167,8 @@ class MgrModule(ceph_module.BaseMgrModule, MgrModuleLoggingMixin):
     @API.expose
     def set_localized_module_option(self, key: str, val: Optional[str]) -> None:
         """
-        Set localized configuration for this ceph-mgr instance
+        Set localized configuration for this ceph-mgr instance.
+
         :param str key:
         :param str val:
         :return: str