Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 2756930b0a3ffc8e7dd65bb3d38c0ab7dd9396ef
https://github.com/tribe29/checkmk/commit/2756930b0a3ffc8e7dd65bb3d38c0ab7d…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-12-16 (Wed, 16 Dec 2020)
Changed paths:
M cmk/core_helpers/piggyback.py
A tests/unit/cmk/fetchers/test_summarizers.py
Log Message:
-----------
Fix regression with "Always use and expect piggyback data"
Handling the `always` option was done at the wrong place. Indeed
```
if self.always and not summary:
```
could never be true because `summary` is always a 3-tuple and
therefore truthy.
Instead, we now check that `get_piggyback_raw_data()` returns something.
SUP-4378
Change-Id: I439bf81193d5e4531348e94b6421d2540014fe80