Skip to content

Commit

Permalink
fixed referenced group
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris committed Dec 10, 2020
1 parent 64421dd commit cc50874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/alerts/server/task_runner/task_runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ function generateNewAndRecoveredInstanceEvents(

for (const id of recoveredAlertInstanceIds) {
const { group: actionGroup, subgroup: actionSubgroup } =
originalAlertInstances[id].getLastScheduledActions() ?? {};
recoveredAlertInstances[id].getLastScheduledActions() ?? {};
const message = `${params.alertLabel} instance '${id}' has recovered`;
logInstanceEvent(id, EVENT_LOG_ACTIONS.recoveredInstance, message, actionGroup, actionSubgroup);
}
Expand Down

0 comments on commit cc50874

Please sign in to comment.