mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Rename Id to ID in alerting models (#62777)
* Chore: Rename Id to ID in alerting models * Add xorm tags for datasource * Add xorm tag for uid
This commit is contained in:
@@ -52,8 +52,8 @@ func (handler *defaultResultHandler) handle(evalContext *EvalContext) error {
|
||||
handler.log.Info("New state change", "ruleId", evalContext.Rule.ID, "newState", evalContext.Rule.State, "prev state", evalContext.PrevAlertState)
|
||||
|
||||
cmd := &models.SetAlertStateCommand{
|
||||
AlertId: evalContext.Rule.ID,
|
||||
OrgId: evalContext.Rule.OrgID,
|
||||
AlertID: evalContext.Rule.ID,
|
||||
OrgID: evalContext.Rule.OrgID,
|
||||
State: evalContext.Rule.State,
|
||||
Error: executionError,
|
||||
EvalData: annotationData,
|
||||
|
||||
Reference in New Issue
Block a user