We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1909f01 commit 7ab6be8Copy full SHA for 7ab6be8
src/system-health/health_checker/sysmonitor.py
@@ -73,7 +73,7 @@ def __init__(self,myQ):
73
self.task_queue = myQ
74
75
def on_job_removed(self, id, job, unit, result):
76
- if result == "done":
+ if result == "done" or result == "failed":
77
timestamp = "{}".format(datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S"))
78
msg = {"unit": unit, "evt_src":"sysbus", "time":timestamp}
79
self.task_notify(msg)
0 commit comments