Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 3966428879bcfc5a3f4fcec0dbd76a1022a7a538
https://github.com/tribe29/checkmk/commit/3966428879bcfc5a3f4fcec0dbd76a102…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/register/utils.py
M cmk/base/config.py
Log Message:
-----------
minor refactorings
Change-Id: If6b22acb7f53b57f3a971ef8e5ebbf249eaef67a
Commit: 2dac663a86d620dd7d948a2ad4a2c19dc2127037
https://github.com/tribe29/checkmk/commit/2dac663a86d620dd7d948a2ad4a2c19dc…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
M cmk/base/api/agent_based/register/check_plugins.py
M cmk/base/api/agent_based/register/inventory_plugins.py
M cmk/base/api/agent_based/register/section_plugins.py
M cmk/base/api/agent_based/register/utils.py
M cmk/base/api/agent_based/type_defs.py
M cmk/base/checking.py
M cmk/base/config.py
M cmk/base/discovery.py
M tests/unit/cmk/base/api/agent_based/register/test_check_plugins.py
M tests/unit/cmk/base/api/agent_based/register/test_check_plugins_legacy.py
M tests/unit/cmk/base/api/agent_based/register/test_section_plugins_legacy.py
Log Message:
-----------
Check-API: expect params if and only if default params are not None
We must allow check functions to have a 'params' argument even if
no ruleset is configured, as we may have discovered parameters.
To be consistent accross all plugin types we expect the functions to
accept a 'params' argument if and only if default parameters are
provided which are not None.
Change-Id: Ibfdb2c7b3d5c6d9a718c3b3575e19817a488a803
Commit: 3252b6ae0e1fc775ef0b967cc9ce027b33d315cf
https://github.com/tribe29/checkmk/commit/3252b6ae0e1fc775ef0b967cc9ce027b3…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
M cmk/base/checking.py
Log Message:
-----------
minor simplification
Change-Id: I71e985baa4f667a0115aafa2a8a1ec9635c84fb0
Compare:
https://github.com/tribe29/checkmk/compare/422e54a914bf...3252b6ae0e1f