Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 45897869deefa7c3dd2e7fdd2a1f37dedd2c852d
https://github.com/tribe29/checkmk/commit/45897869deefa7c3dd2e7fdd2a1f37ded…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-04-13 (Wed, 13 Apr 2022)
Changed paths:
A .werks/13646
M cmk/gui/plugins/wato/builtin_attributes.py
M cmk/gui/watolib/host_attributes.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
M tests/unit/cmk/gui/watolib/test_host_attributes.py
Log Message:
-----------
13646 FIX Fix host API calls in case a previous discovery failed
REST API calls returning host data structures could fail in case a bulk
discovery failed for one of the handled hosts before. The API calls failed
with a HTTP 500 error and a message like "Server was about to send an
invalid response: inventory_failed - Unknown field"
Change-Id: I5facf4e4517bc39d23da46461b65c5b75406e798