@cryptotaxi247 / netdata-1 / commits / 2250b1de9

set new flag to False after successful chart update()

lgz committed Nov 5, 2017 at 15:34 UTC 2250b1de984741da7c48eae6e28615600dfc4da0
1 file changed +1
python.d/python_modules/bases/charts.py
+1
@@ -228,6 +228,7 @@ class Chart:
228
229 chart_begin = CHART_BEGIN.format(type=self.type, id=self.id, since_last=since_last)
230 safe_print(chart_begin, updated_dimensions, updated_variables, 'END\n')
231 + self.flags.new = False
232
233 return bool(updated_dimensions)
234