]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/PyModule: initialize options on standby class too 33897/head
authorSage Weil <sage@redhat.com>
Wed, 11 Mar 2020 17:14:59 +0000 (12:14 -0500)
committerSage Weil <sage@redhat.com>
Thu, 12 Mar 2020 03:42:23 +0000 (22:42 -0500)
commit3eeaefddb98b76e319b47891d6cb41cff48cccff
treed6571b466c361becf8d5dca1da937c716f688cb2
parentcd7525dcbd8f167bedda96fd0426e8f2593a9589
mgr/PyModule: initialize options on standby class too

Create a separate callback (_register_options) and call that on both
the regular MgrModule and MgrStandbyModule.

Fixes: https://tracker.ceph.com/issues/44562
Signed-off-by: Sage Weil <sage@redhat.com>
src/mgr/PyModule.cc
src/mgr/PyModule.h
src/pybind/mgr/cephadm/tests/fixtures.py
src/pybind/mgr/mgr_module.py