Dummy database module fix. (0.25.2)
This commit is contained in:
parent
7bfaf84244
commit
3cb15dea3d
2 changed files with 4 additions and 3 deletions
|
|
@ -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>'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue