Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 84315862afa28af7d550d9fc183d5b3734c1268f
https://github.com/tribe29/checkmk/commit/84315862afa28af7d550d9fc183d5b373…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M cmk/core_helpers/protocol.py
M tests/unit/cmk/base/agent_based/test_data_provider_collect_host_sections.py
Log Message:
-----------
Improve ResultMessage typing
We should always avoid AbstractRawData because of the Union: The
messages may be *either* SNMP *or* Agent but never both. Moreover,
one consumer of this type is `Source.parse()` that expects a
`result.Result[TRawData, Exception]` (no Union).
Change-Id: I69aa3b57906a8e347861759f8578fd0400ed878b