[checkmk-commits] [tribe29/checkmk] b4ad77: 7469 FIX brocade_sfp: Discovery crash if any value...

Óscar Nájera noreply at github.com
Wed Jul 17 16:20:39 CEST 2019

  Branch: refs/heads/1.6.0
  Home:   https://github.com/tribe29/checkmk
  Commit: b4ad777acb6db7495ff47a56ef77ae66150cc96e
  Author: Óscar Nájera <oscar.najera at 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
    M 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.


Change-Id: I3a8e1090aba38d3406f4173a198b51ee6cc01416

More information about the checkmk-commits mailing list