Module: check_mk
Branch: master
Commit: f7952cd728670840e3bf2274b9ea2bee26fb8431
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f7952cd7286708…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Jan 23 15:43:52 2018 +0100
Fixed typo
Change-Id: I531bd94e09a722a7651b3cab381757c51900ed91
---
web/htdocs/inventory.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/inventory.py b/web/htdocs/inventory.py
index a42de0e..020338d 100644
--- a/web/htdocs/inventory.py
+++ b/web/htdocs/inventory.py
@@ -109,7 +109,7 @@ def load_tree(hostname):
inventory_tree_cache = html.get_cached("inventory")
if not inventory_tree_cache:
- inventory_tree_cache = StructuredDataTree()
+ inventory_tree_cache = {}
html.set_cache("inventory", inventory_tree_cache)
if hostname in inventory_tree_cache: