Merge pull request #3524 from Gouthamve/rule-glob

Use the files globbed files and not the files in cfg
This commit is contained in:
Goutham Veeramachaneni 2017-11-30 19:04:51 +05:30 committed by GitHub
commit 36190239f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
},
}