Fix: Add missing store in test rule (#46151)
This commit is contained in:
1 parent
fa7323e6d5
commit
87d3c06fef
1 file changed
+1
-1
@@ -32,7 +32,7 @@ func (e *AlertEngine) AlertTest(orgID int64, dashboard *simplejson.Json, panelID
|
||||
|
||||
handler := NewEvalHandler(e.DataService)
|
||||
|
||||
context := NewEvalContext(context.Background(), rule, fakeRequestValidator{}, nil)
|
||||
context := NewEvalContext(context.Background(), rule, fakeRequestValidator{}, e.sqlStore)
|
||||
context.IsTestRun = true
|
||||
context.IsDebug = true
|
||||
|
||||
|
||||
Reference in new issue
Block a user