diff --git a/stats.go b/stats.go index 56d2938..5ec5c5c 100644 --- a/stats.go +++ b/stats.go @@ -83,7 +83,7 @@ func startPrometheusStats(l *logrus.Logger, i time.Duration, c *config.C, listen subsystem := c.GetString("stats.subsystem", "") if listen == "" { - return nil, fmt.Errorf("http.listen or stats.listen must be defined to use promtheus stats") + return nil, fmt.Errorf("http.listen or stats.listen must be defined to use Prometheus stats") } pr := prometheus.NewRegistry()