Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 6bf068ef921e0c6d88ee5fdb856e4907dd2fb248
https://github.com/tribe29/checkmk/commit/6bf068ef921e0c6d88ee5fdb856e4907d…
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