cleanup must be Chart attribute
lgz committed
Nov 3, 2017 at 11:53 UTC
572077de224077c4abb45c95db07f7edbf38921f
1 file changed
+1
-1
python.d/python_modules/bases/charts.py
+1
-1
@@ -123,7 +123,7 @@ class Charts:
123
124
new_chart.params['update_every'] = self.get_update_every()
125
new_chart.params['priority'] = self.priority
126
- new_chart.params['cleanup'] = self.cleanup
126
+ new_chart.cleanup = self.cleanup
127
128
self.priority += 1
129
self.charts[new_chart.id] = new_chart