]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/alerts: fix type of interval option
authorKiefer Chang <kiefer.chang@suse.com>
Thu, 19 Dec 2019 00:35:01 +0000 (08:35 +0800)
committerNeha Ojha <nojha@redhat.com>
Tue, 14 Jul 2020 23:02:17 +0000 (23:02 +0000)
commit045ff3692ce096bea23d2c2a01560de4975b1d9b
tree0ede3f16ecd78413aed755d4a051d5db024fa439
parentab2f235e93df03e32d0b7fd8130b243632c3048c
mgr/alerts: fix type of interval option

The option needs to be in `secs` type to enable input checking and
type casting.

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit 368c810a4200a57a772b8122fc606a2b36de7413)
src/pybind/mgr/alerts/module.py