Fix: Add missing store in test rule (#46151)
This commit is contained in:
@@ -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