beanstalk minor fix
lgz committed
Nov 4, 2017 at 17:05 UTC
1a76c428546cb3b6c39c5e2afbe76a497f9cb147
1 file changed
+2
-1
python.d/beanstalk.chart.py
+2
-1
@@ -214,8 +214,9 @@ class Service(SimpleService):
214
self.alive = False
215
return None
216
217
+ active_charts = self.charts.active_charts()
218
for tube in tubes_stats:
218
- if tube + '_jobs' not in self.charts.active_charts():
219
+ if tube + '_jobs_rate' not in active_charts:
220
self.create_new_tube_charts(tube)
221
222
data.update(tubes_stats[tube])