소스 검색

Correct typo (#150)

Gábor Lipták 5 년 전
부모
커밋
e9b0498b21
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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", "")
 	listen := c.GetString("stats.listen", "")
 	if 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", "")
 	path := c.GetString("stats.path", "")
 	if path == "" {
 	if path == "" {
-		return fmt.Errorf("stats.path should not be emtpy")
+		return fmt.Errorf("stats.path should not be empty")
 	}
 	}
 
 
 	pr := prometheus.NewRegistry()
 	pr := prometheus.NewRegistry()