diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index fc7951e5f..ab3a862e2 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -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) }, }