Module: check_mk
Branch: master
Commit: 7e8d6e0c10fbeaface7b68553ab4c33964d9c160
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7e8d6e0c10fbea…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri Dec 16 13:16:11 2016 +0100
fixed mutable init value
Change-Id: Ia937fd2ab53d7574cd404ac5f7a307c72a2ee3d3
---
web/htdocs/bi.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/bi.py b/web/htdocs/bi.py
index 0da6942..466a90e 100644
--- a/web/htdocs/bi.py
+++ b/web/htdocs/bi.py
@@ -1340,7 +1340,9 @@ def get_aggr_groups(aggr_def):
aggr_groups = aggr_def[1]
return aggr_groups
-def get_aggr_ids(what = []): # AGGR_HOST / AGGR_MULTI
+def get_aggr_ids(what = None): # AGGR_HOST / AGGR_MULTI
+ if what is None:
+ what = []
result = []
enabled_aggregations = get_enabled_aggregations()
for idx, (aggr_type, aggr_def) in enumerate(enabled_aggregations):