]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/alerts: fix module fails to start without smtp_host 32316/head
authorKiefer Chang <kiefer.chang@suse.com>
Thu, 19 Dec 2019 01:21:04 +0000 (09:21 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Thu, 19 Dec 2019 01:25:08 +0000 (09:25 +0800)
commitb6b6f046b8af1589816b7bff33b2642ab331824e
treeea28830736f5d9b4ff2afdc0f0bfe756af77d70d
parent368c810a4200a57a772b8122fc606a2b36de7413
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>
src/pybind/mgr/alerts/module.py