Fix typo in log

Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
This commit is contained in:
Tim Vaillancourt 2023-07-07 01:43:42 +02:00
parent 90aa8efb29
commit 70779b26ad

View File

@ -83,7 +83,7 @@ func startPrometheusStats(l *logrus.Logger, i time.Duration, c *config.C, listen
subsystem := c.GetString("stats.subsystem", "") subsystem := c.GetString("stats.subsystem", "")
if listen == "" { 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() pr := prometheus.NewRegistry()