]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: define module options for standby 44205/head
authorSage Weil <sage@newdream.net>
Mon, 29 Nov 2021 18:49:45 +0000 (13:49 -0500)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Fri, 3 Dec 2021 17:19:01 +0000 (00:19 +0700)
commit305648a2a13ec94fa5dc0b55bd6166f975360de9
treec2a7d6a9980705f754380bea3f6efddc25b4070e
parent30b2a93bef566464130f74c87933dfe1d23a54cc
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>
(cherry picked from commit 4fdd2284c15b36bd7b900b8ce595032a0d362f52)
src/pybind/mgr/prometheus/module.py