mirror of
https://github.com/prometheus/prometheus
synced 2025-01-12 18:01:36 +00:00
Merge pull request #3524 from Gouthamve/rule-glob
Use the files globbed files and not the files in cfg
This commit is contained in:
commit
36190239f6
@ -289,7 +289,7 @@ func main() {
|
||||
}
|
||||
files = append(files, fs...)
|
||||
}
|
||||
return ruleManager.Update(time.Duration(cfg.GlobalConfig.EvaluationInterval), cfg.RuleFiles)
|
||||
return ruleManager.Update(time.Duration(cfg.GlobalConfig.EvaluationInterval), files)
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user