Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 3c10f25c7f9dac091bbc448add7e728b35308b32
https://github.com/tribe29/checkmk/commit/3c10f25c7f9dac091bbc448add7e728b3…
Author: Lukas Lengler <lukas.lengler(a)tribe29.com>
Date: 2022-06-15 (Wed, 15 Jun 2022)
Changed paths:
A .werks/14145
M cmk/gui/plugins/dashboard/graph.py
M cmk/gui/plugins/dashboard/utils.py
M tests/unit/cmk/gui/plugins/dashboard/test_dashboard_utils.py
Log Message:
-----------
14145 FIX Crash: Performance Graph dashlet without service context
When creating a performance graph dashlet without the service context you would expect
the dashlet to use the available host metrics from the Host Check Command.
Since 2.1.0i1 this was no longer possible because the dashlet crashed with the error:
<b>Exception: AttributeError ('str' object has no attribute
'values')</b>
Now the dashlet works as intended again.
Change-Id: I47d9027276d6c34f0abe4becccbf5a2a186bc340