fix redis mutual exclusion (part 2)
paulfantom committed
Jul 15, 2016 at 01:59 UTC
ca598239996ded76ac76d6a4380ea59f4848fd28
1 file changed
+1
plugins.d/python.d.plugin
+1
@@ -334,6 +334,7 @@ class PythonCharts(object):
334
if new_name in overridden:
335
msg.error(job.chart_name + " already exists. Stopping '" + job.name + "'")
336
self._stop(job)
337
+ i -= 1
338
else:
339
job.name = job.override_name
340
msg.debug(job.chart_name + " changing chart name to: '" + new_name + "'")