]> arthur.barton.de Git - netdata.git/commitdiff
fix redis mutual exclusion (part 2)
authorpaulfantom <paulfantom@gmail.com>
Thu, 14 Jul 2016 23:59:25 +0000 (01:59 +0200)
committerpaulfantom <paulfantom@gmail.com>
Thu, 14 Jul 2016 23:59:25 +0000 (01:59 +0200)
plugins.d/python.d.plugin

index 5186d8ba03ec2cf767282c7cf51118b05fdf4785..10d881b33bf0fe5db732c2ae27b4fad44d80d807 100755 (executable)
@@ -334,6 +334,7 @@ class PythonCharts(object):
                             if new_name in overridden:
                                 msg.error(job.chart_name + " already exists. Stopping '" + job.name + "'")
                                 self._stop(job)
+                                i -= 1
                             else:
                                 job.name = job.override_name
                                 msg.debug(job.chart_name + " changing chart name to: '" + new_name + "'")