From 24ca308e101d7c13a47455e5bfc7c47ec23ff138 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=9D=B3=E7=99=BB=E7=A7=91?= Date: Tue, 8 Jun 2021 08:55:20 +0800 Subject: [PATCH] mgr/mgr_module: correct docstring of MgrModule.get() In annotation, one of param of Mgr_module.get() is "osd_crush_map_text", but in PyObject *ActivePyModules::get_python and selftest, the param is "osdmap_crush_map_text", so update annotation from "osd_crush_map_text" to "osdmap_crush_map_text" Signed-off-by: lmgdlmgd <1105050771@qq.com> --- src/pybind/mgr/mgr_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/mgr_module.py b/src/pybind/mgr/mgr_module.py index 0e73b0d879feb..d358499f371a6 100644 --- a/src/pybind/mgr/mgr_module.py +++ b/src/pybind/mgr/mgr_module.py @@ -1026,7 +1026,7 @@ class MgrModule(ceph_module.BaseMgrModule, MgrModuleLoggingMixin): """ Called by the plugin to fetch named cluster-wide objects from ceph-mgr. - :param str data_name: Valid things to fetch are osd_crush_map_text, + :param str data_name: Valid things to fetch are osdmap_crush_map_text, osd_map, osd_map_tree, osd_map_crush, config, mon_map, fs_map, osd_metadata, pg_summary, io_rate, pg_dump, df, osd_stats, health, mon_status, devices, device , pg_stats, -- 2.39.5