From: Zac Dover Date: Sun, 1 Jun 2025 23:39:35 +0000 (+1000) Subject: doc/mgr: edit modules.rst X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F63667%2Fhead;p=ceph.git doc/mgr: edit modules.rst s/called/named/ as requested by Anthony D'Atri in https://github.com/ceph/ceph/pull/63451#discussion_r2104487962. Signed-off-by: Zac Dover (cherry picked from commit 02621f7683b9296dccf943326cc555052aa5a2ab) --- diff --git a/doc/mgr/modules.rst b/doc/mgr/modules.rst index 205f4bb0142e9..020d0ba725291 100644 --- a/doc/mgr/modules.rst +++ b/doc/mgr/modules.rst @@ -11,9 +11,9 @@ ceph-mgr module developer's guide Creating a module ----------------- -In ``pybind/mgr/``, create a python module. Within your module, create a class +In ``pybind/mgr/``, create a python module. Within your module, create a class that inherits from ``MgrModule``. For ceph-mgr to detect your module, your -directory must contain a file called ``module.py``. +directory must contain a file named ``module.py``. The most important methods to override are: