Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 08a2498d8c31b14b230ce3eff1bf75503ae7beac
https://github.com/tribe29/checkmk/commit/08a2498d8c31b14b230ce3eff1bf75503…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2021-09-20 (Mon, 20 Sep 2021)
Changed paths:
M cmk/base/autochecks.py
Log Message:
-----------
move access to 'service.description' up the stack
Change-Id: If1d685efbd873c9952e0514604e6cc5d29a8eadf
Commit: e2d9d03026fae8c22c92c431727e1d600a3a314a
https://github.com/tribe29/checkmk/commit/e2d9d03026fae8c22c92c431727e1d600…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2021-09-20 (Mon, 20 Sep 2021)
Changed paths:
M cmk/base/autochecks.py
M tests/testlib/base.py
Log Message:
-----------
autochecks: delay computation of service description
This commit moves the computation of the service
description up the call stack.
It comes at the price of (potentially) computing the
service description twice, but:
* the error handling of this operation is dangerous,
and the consequences are now a bit more limited
* the callback function does not need to be passed on
that much down the call stack
* we have a config free representation of an autocheck
entry
Change-Id: I708ddf5ea0405b15c7c6cbdcb7f91d5b23243289
Compare:
https://github.com/tribe29/checkmk/compare/ecc117a61b39...e2d9d03026fa