Branch: refs/heads/2.2.0
Home:
https://github.com/tribe29/checkmk
Commit: f1f8991662f92cf2af7adceb52bb4b9d4d37e6d3
https://github.com/tribe29/checkmk/commit/f1f8991662f92cf2af7adceb52bb4b9d4…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2023-03-07 (Tue, 07 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/_discovered_services.py
M cmk/base/agent_based/discovery/_discovery.py
M cmk/base/agent_based/discovery/_host_labels.py
M cmk/base/agent_based/discovery/autodiscovery.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
M cmk/base/agent_based/utils.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
M tests/unit/cmk/base/agent_based/test_data_provider_parsed_sections_broker.py
M tests/unit/cmk/base/agent_based/test_data_provider_parsed_sections_resolver.py
M tests/unit/cmk/base/agent_based/test_utils.py
Log Message:
-----------
Simplify data_provider
* Effectively one class less (ParsedSectionsBroker now only has
static methods, so it doesn't really qualify as a class anymore).
* Protocol slightly less implicit as `parsing_errors()` requires
an extra argument.
Change-Id: I3ee994b410817ccc3dd681f3db57404583f2e176
(cherry picked from commit d681923a97d1638f845e0875102b342b31d30c42)