Live: search for pipeline files in data folder (#39198)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
Alexander Emelin
2021-09-14 22:27:51 +02:00
committed by GitHub
co-authored by Ryan McKinley
parent 548b4daa49
commit 15e278e9e1
4 changed files with 36 additions and 13 deletions
+3 -1
View File
@@ -173,7 +173,9 @@ func ProvideService(plugCtxProvider *plugincontext.Provider, cfg *setting.Cfg, r
FrameStorage: pipeline.NewFrameStorage(),
}
} else {
storage := &pipeline.FileStorage{}
storage := &pipeline.FileStorage{
DataPath: cfg.DataPath,
}
g.channelRuleStorage = storage
builder = &pipeline.StorageRuleBuilder{
Node: node,