mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-06 10:41:25 -08:00
Correct typo (#150)
This commit is contained in:
parent
efe741ad66
commit
e9b0498b21
1 changed files with 2 additions and 2 deletions
4
stats.go
4
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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue