mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
Use the files globbed files and not the files in cfg
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
This commit is contained in:
parent
52c0121890
commit
823b7f90b3
|
@ -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