Dummy database module fix. (0.25.2)

This commit is contained in:
Johannes Findeisen 2023-08-22 05:59:45 +02:00
commit 3cb15dea3d
2 changed files with 4 additions and 3 deletions

View file

@ -20,7 +20,7 @@ from linspector.environment import Environment
from linspector.linspector import Linspector from linspector.linspector import Linspector
from linspector.monitors import Monitors from linspector.monitors import Monitors
__version__ = '0.25.1' __version__ = '0.25.2'
__author__ = 'Johannes Findeisen <you@hanez.org>' __author__ = 'Johannes Findeisen <you@hanez.org>'

View file

@ -13,8 +13,9 @@ def create(configuration, environment, log):
class DummyDBDatabase(Database): class DummyDBDatabase(Database):
""" """
This is a dummy database to make sure all monitor can work even when no database is configured. This is a dummy database module to make sure all monitors can work without errors even when no
database is configured. It should always be loaded or only if no other database is selected.
""" """
def insert(self): def insert(self, host, identifier, json, message, service, status, timestamp):
pass pass