Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 2ca31394df4b7f8e95b4d2a308b11a9c42223356
https://github.com/tribe29/checkmk/commit/2ca31394df4b7f8e95b4d2a308b11a9c4…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-06-30 (Tue, 30 Jun 2020)
Changed paths:
M cmk/base/api/agent_based/checking_types.py
M cmk/base/api/agent_based/register/check_plugins.py
M cmk/base/config.py
M tests-py3/unit/cmk/base/api/agent_based/register/test_check_plugins.py
M tests-py3/unit/cmk/base/api/agent_based/register/test_check_plugins_legacy.py
Log Message:
-----------
CheckAPI: make default parameters non optional
Sometimes check plugins get extended and get parameters. Check plugins that do not require
parameters won't get them passed to their check/discovery functions anyway, so we just
always use dicts. That way we have a stricter typing, and more consistency across all
plugins.
Change-Id: I19e1d39bfece189b1b3f35270d79e76ee8df4ba6