]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: define module options for standby 44132/head
authorSage Weil <sage@newdream.net>
Mon, 29 Nov 2021 18:49:45 +0000 (13:49 -0500)
committerSage Weil <sage@newdream.net>
Mon, 29 Nov 2021 18:49:45 +0000 (13:49 -0500)
commit4fdd2284c15b36bd7b900b8ce595032a0d362f52
tree6d274f503afcee96ecef02f87b021324a33c56f4
parent22c402b84e508af396252c5875253c8742b732e6
mgr/prometheus: define module options for standby

We need to define the options for the standby class as well in order for
it to successfully make use of the default value for
standby_error_status_code (and stadnby_behavior).

Fixes: https://tracker.ceph.com/issues/53287
Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/prometheus/module.py