mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-11 16:14:05 -08: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 a new issue