From e9b0498b21e6f776da75393ccf56fde56329a87c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Lipt=C3=A1k?= Date: Mon, 6 Jan 2020 12:14:11 -0500 Subject: [PATCH] Correct typo (#150) --- stats.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stats.go b/stats.go index 4765f2b..65ad877 100644 --- a/stats.go +++ b/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()