diff --git a/linspector/monitor.py b/linspector/monitor.py index e639501..30f36ee 100644 --- a/linspector/monitor.py +++ b/linspector/monitor.py @@ -72,10 +72,9 @@ class Monitor: NONE job was not executed: -1 OK when everything is fine: 0 WARNING when a job has errors but the threshold is not overridden: 1 - RECOVER when a job recovers e.g. the threshold decrements (not implemented): 2 + RECOVER when a job recovers e.g. the error count decrements: 2 ERROR when a jobs error threshold is overridden: 3 - UNKNOWN when a job throws an exception which is not handled by the job itself (not - implemented): 4 + UNKNOWN when a job throws an exception which is not handled by the job itself: 4 """ try: notification_list = None diff --git a/linspector/plugin.py b/linspector/plugin.py index 08ba5df..7a0f4ab 100644 --- a/linspector/plugin.py +++ b/linspector/plugin.py @@ -4,6 +4,7 @@ Copyright (c) 2013-2023 Johannes Findeisen . All Rights Reserved. See LICENSE. """ + class Plugin: def __init__(self, configuration, environment, linspector, log): self._configuration = configuration