From 823b7f90b32afef79196f74c77a5cce0e48a63d9 Mon Sep 17 00:00:00 2001 From: Goutham Veeramachaneni Date: Thu, 30 Nov 2017 17:08:34 +0530 Subject: [PATCH] Use the files globbed files and not the files in cfg Signed-off-by: Goutham Veeramachaneni --- cmd/prometheus/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }, }