summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/go_expvar/go_expvar.chart.py
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/python.d.plugin/go_expvar/go_expvar.chart.py')
-rw-r--r--collectors/python.d.plugin/go_expvar/go_expvar.chart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/go_expvar/go_expvar.chart.py b/collectors/python.d.plugin/go_expvar/go_expvar.chart.py
index f9bbdc164..dca010817 100644
--- a/collectors/python.d.plugin/go_expvar/go_expvar.chart.py
+++ b/collectors/python.d.plugin/go_expvar/go_expvar.chart.py
@@ -237,7 +237,7 @@ class Service(UrlService):
gc_pauses = memstats['PauseNs']
try:
gc_pause_avg = sum(gc_pauses) / len([x for x in gc_pauses if x > 0])
- # no GC cycles have occured yet
+ # no GC cycles have occurred yet
except ZeroDivisionError:
gc_pause_avg = 0