Procházet zdrojové kódy

Fix typo in log

Signed-off-by: Tim Vaillancourt <[email protected]>
Tim Vaillancourt před 2 roky
rodič
revize
70779b26ad
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      stats.go

+ 1 - 1
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()