summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/go_expvar
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2021-11-16 09:18:43 +0200
committerGitHub <noreply@github.com>2021-11-16 10:18:43 +0300
commitacca8c24f229da0ff0238921ebc4b30ddc7125ea (patch)
tree93113595d01b209c62167aa7d0ccaf05bb665218 /collectors/python.d.plugin/go_expvar
parent97a13e03612b0d4f2908be57b5114d619626f66d (diff)
Fix typos (#11782)
Co-authored-by: ilyam8 <ilya@netdata.cloud>
Diffstat (limited to 'collectors/python.d.plugin/go_expvar')
-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 f9bbdc1645..dca0108172 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