Explorar o código

Correct typo (#150)

Gábor Lipták %!s(int64=5) %!d(string=hai) anos
pai
achega
e9b0498b21
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      stats.go

+ 2 - 2
stats.go

@@ -67,12 +67,12 @@ func startPrometheusStats(i time.Duration, c *Config) error {
 
 	listen := c.GetString("stats.listen", "")
 	if listen == "" {
-		return fmt.Errorf("stats.listen should not be emtpy")
+		return fmt.Errorf("stats.listen should not be empty")
 	}
 
 	path := c.GetString("stats.path", "")
 	if path == "" {
-		return fmt.Errorf("stats.path should not be emtpy")
+		return fmt.Errorf("stats.path should not be empty")
 	}
 
 	pr := prometheus.NewRegistry()