]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: Remove _ceph_(g|s)et_module_option_ex() method 26280/head
authorVolker Theile <vtheile@suse.com>
Thu, 7 Feb 2019 08:35:53 +0000 (09:35 +0100)
committerVolker Theile <vtheile@suse.com>
Mon, 18 Feb 2019 10:18:07 +0000 (11:18 +0100)
commit633c3672721f2be199787873fabb2f9a19203cbe
treee1c6b32e8868c00c55b77187094ad575d548e5a3
parentdead2a9d04e1e479ee7dcd35707759f925db14f8
mgr: Remove _ceph_(g|s)et_module_option_ex() method

This PR replaces the _ceph_(get|set)_module_option functions with the specialized _ceph_(get|set)_module_option_ex functions and improves the MgrModule Python class to call the new _ceph_(get|set)_module_option functions.

This is done to reduce the complexity of the previous implementation and will prevent the use of boxing parameters for feeding them into a Python function written in C++.

Signed-off-by: Volker Theile <vtheile@suse.com>
src/mgr/BaseMgrModule.cc
src/pybind/mgr/mgr_module.py