]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: set/get_localized_config in MgrModule
authorWido den Hollander <wido@42on.com>
Fri, 30 Jun 2017 14:49:46 +0000 (16:49 +0200)
committerWido den Hollander <wido@42on.com>
Mon, 3 Jul 2017 12:47:23 +0000 (14:47 +0200)
commit43380f8d98168bb3b2770275fb47084606e3be3d
treeca656a99d6c38d1165cc89b162dca3338100fcd3
parenta23c7e5505b64eabde5a49a5268a373c7430c2cd
mgr: set/get_localized_config in MgrModule

get_localized_config was getting redundant as it was copied to various
modules.

This commit also introduces set_localized_config() which set a localized
configuration option for a module.

Signed-off-by: Wido den Hollander <wido@42on.com>
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/mgr_module.py
src/pybind/mgr/restful/module.py