Module: check_mk
Branch: master
Commit: 90b53e3ee4697cb55bf442aa03bdaef98baf88b8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=90b53e3ee4697c…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Sep 18 10:56:51 2018 +0200
Fixed AttributeError
Change-Id: Ia8043c15d5588b4d6f6cf1aee547249825a5f006
---
cmk/gui/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/gui/views.py b/cmk/gui/views.py
index 750f7f7..28a8b45 100644
--- a/cmk/gui/views.py
+++ b/cmk/gui/views.py
@@ -958,7 +958,7 @@ def show_view(view, show_heading = False, show_buttons = True,
if is_inventory_data_needed(group_cells, cells, sorters, all_active_filters):
for row in rows:
if "host_name" in row:
- row["host_inventory"] =
inventory.load_filtered_and_merged_tree(row["host_name"])
+ row["host_inventory"] =
inventory.load_filtered_and_merged_tree(row)
if not cmk.is_raw_edition():
import cmk.gui.cee.sla as sla