Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: ae363f71a23180298488c0ba489a886e09f19b16
https://github.com/tribe29/checkmk/commit/ae363f71a23180298488c0ba489a886e0…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-10-15 (Thu, 15 Oct 2020)
Changed paths:
M cmk/base/checkers/_abstract.py
M cmk/base/checkers/agent.py
M cmk/base/checkers/ipmi.py
M cmk/base/checkers/piggyback.py
M cmk/base/checkers/snmp.py
M tests/unit/cmk/base/checkers/test_agent.py
Log Message:
-----------
Checkers: Use error encapsulation from Result type
This allows for large simplifications in that we only need to implement
the good path and the error path is handled in Result. This also lets
us clarify and simplify the API of the private classes under `checkers`.
Change-Id: I6abc4634cfe6921548e38d04f99620e66390f5bf