]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/alerts: fix module fails to start without smtp_host 36104/head
authorKiefer Chang <kiefer.chang@suse.com>
Thu, 19 Dec 2019 01:21:04 +0000 (09:21 +0800)
committerNeha Ojha <nojha@redhat.com>
Tue, 14 Jul 2020 23:02:17 +0000 (23:02 +0000)
commit0a5a4b2319cbd80431676d896914dcd9898973d0
tree0a3d526b877d9ea850bf6fbe831a1036986dbaa4
parent045ff3692ce096bea23d2c2a01560de4975b1d9b
mgr/alerts: fix module fails to start without smtp_host

The option setting loop in config_notify raises an exception if
smtp_host option is not configured.

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