Fix typos and linter warnings

This commit is contained in:
DarthSim
2019-02-01 17:53:46 +06:00
parent 4007734d3d
commit dd28028710
3 changed files with 5 additions and 9 deletions

View File

@@ -33,7 +33,7 @@ func initPrometheus() {
prometheusErrorsTotal = prometheus.NewCounterVec(prometheus.CounterOpts{
Name: "errors_total",
Help: "A counter of the occured errors separated by type.",
Help: "A counter of the occurred errors separated by type.",
}, []string{"type"})
prometheusRequestDuration = prometheus.NewHistogram(prometheus.HistogramOpts{