Branch: refs/heads/1.5.0
Home:
https://github.com/tribe29/checkmk
Commit: 7fab8fbee827783f979bdc311d161970c4b7804b
https://github.com/tribe29/checkmk/commit/7fab8fbee827783f979bdc311d161970c…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2019-07-17 (Wed, 17 Jul 2019)
Changed paths:
A .werks/7469
M checks/brocade_sfp
M cmk_base/check_api.py
A tests/unit/cmk_base/test_check_api.py
Log Message:
-----------
7469 FIX brocade_sfp: Discovery crash if any value is -inf
Integrate in check_api a float derivate that generates a parse-able
representation of inf. Then literal_eval can reconstruct this value as a
float instead of a missing variable name. For the check -inf is a correct
float value to work with.
CMK-2147
Change-Id: I3a8e1090aba38d3406f4173a198b51ee6cc01416