From d6eb55d2a2107e217935256667d4aef52bd64593 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 11 Oct 2019 20:04:53 +0200 Subject: [PATCH] Add tmp dummy mail report so that the diagnoser kinda works instead of failing miserably --- data/hooks/diagnosis/18-mail.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/data/hooks/diagnosis/18-mail.py b/data/hooks/diagnosis/18-mail.py index 100ace22f..c12c15cff 100644 --- a/data/hooks/diagnosis/18-mail.py +++ b/data/hooks/diagnosis/18-mail.py @@ -13,7 +13,11 @@ class MailDiagnoser(Diagnoser): def run(self): - return # TODO / FIXME TO BE IMPLEMETED in the future ... + # TODO / FIXME TO BE IMPLEMETED in the future ... + + yield dict(meta={}, + status="WARNING", + summary=("nothing_implemented_yet", {})) # Mail blacklist using dig requests (c.f. ljf's code)