mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-18 17:16:52 +01:00
Correct typo (#150)
This commit is contained in:
1 parent
efe741ad66
commit
e9b0498b21
1 file changed
+2
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user