From c04f70c7dbefa0f0379355c5f91037e7ebc96c4c Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 1 Sep 2017 20:37:46 +0100 Subject: [PATCH] correct spelling mistake --- varnish.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish.go b/varnish.go index eb7b223..aed262c 100644 --- a/varnish.go +++ b/varnish.go @@ -38,7 +38,7 @@ func scrapeVarnish(ch chan<- prometheus.Metric) (*bytes.Buffer, error) { if errExec != nil { return buf, errExec } - // The output JSON annoyingly is not stuctured so that we could make a nice map[string]struct for it. + // The output JSON annoyingly is not structured so that we could make a nice map[string]struct for it. metricsJSON := make(map[string]interface{}) dec := json.NewDecoder(buf) if err := dec.Decode(&metricsJSON); err != nil {