From 6c2dcc7f90ced8029e736fe7ec0ab0b6670e0637 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Wed, 6 Sep 2023 07:24:51 +0200 Subject: [PATCH] Minimal fixes of no bugs! (0.28.4) --- TODO | 6 +++--- linspector/configuration.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index f367df4..8d727f5 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,6 @@ -# TODO +TODO -## Next Steps: +Next Steps: 1. Define the status of services (OK and ERROR enough?) 2. Handle the status of services and produce a new internal status (OK, ERROR, WARNING enough?) @@ -8,7 +8,7 @@ 4. Implement the Plugin interface and write a plugin to show some data and statistics in a web interface 5. Add more services, tasks and maybe plugins... -## Things to do in no particular order: +Things to do in no particular order: - Implement error handling at all needed places! currently nearly no error handling is done! - Configure the logger diff --git a/linspector/configuration.py b/linspector/configuration.py index ab0c2d7..6d8a29e 100644 --- a/linspector/configuration.py +++ b/linspector/configuration.py @@ -26,7 +26,7 @@ class Configuration: "root path!") # add keys and values defined in sub dirs and configuration ini files. - for target_section in ['databases', 'notifications', 'plugins', 'services', 'tasks']: + for target_section in ['notifications', 'plugins', 'services', 'tasks']: # check if section exists before adding content. if not exists add the section. if not self._configuration.has_section(target_section): self._configuration.add_section(target_section)