Branch: refs/heads/2.2.0
Home:
https://github.com/tribe29/checkmk
Commit: 0966e4096b293ef7e2ed60fc0882b9e89e41d7f7
https://github.com/tribe29/checkmk/commit/0966e4096b293ef7e2ed60fc0882b9e89…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M cmk/base/agent_based/data_provider.py
M cmk/base/agent_based/utils.py
M tests/unit/cmk/base/agent_based/test_data_provider_parsed_sections_broker.py
Log Message:
-----------
Simplify data_provider #2
Inline function with a single caller. We can also safely remove the
corresponding tests as the tests for `get_parsed_section()` were
redundant with the tests for `get_section_kwargs()`.
It is also noteworthy that the signature of `get_parsed_section()`
was different and confusing with regard to the signatures of the
other two functions on ParsedSectionsBroker. Also note that the
signature of `get_section_kwargs()` _is consistent_ with the
signatures of `get_cache_info()` and `filter_available()`.
Change-Id: Ib1cd7ac8a6b72a4fc6772da95bb2c52aa4f2c9ff
Commit: eb1672c849ef32ddbe3bdc8d1e9839eefed395bd
https://github.com/tribe29/checkmk/commit/eb1672c849ef32ddbe3bdc8d1e9839eef…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M cmk/base/agent_based/checking/_checking.py
M cmk/base/agent_based/data_provider.py
M cmk/base/agent_based/inventory/_inventory.py
M cmk/base/agent_based/utils.py
Log Message:
-----------
Remove monstruous and inefficient abuse of sum()
Change-Id: Ie3775eac650ee66ea027d66a5d3bbb61a2b2be0b
Commit: ebde416f09c985b9de306e2b2ac808b2930958fc
https://github.com/tribe29/checkmk/commit/ebde416f09c985b9de306e2b2ac808b29…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M cmk/base/agent_based/checking/_checking.py
M cmk/base/agent_based/data_provider.py
M cmk/base/agent_based/discovery/_discovery.py
M cmk/base/agent_based/discovery/commandline.py
M cmk/base/agent_based/discovery/preview.py
M cmk/base/agent_based/inventory/_inventory.py
Log Message:
-----------
Inline trivial function
Change-Id: Id896942822eb10ff80e97208b70de1e7116bef83
Compare:
https://github.com/tribe29/checkmk/compare/1845599d35d0...ebde416f09c9