Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ymao1 committed Nov 6, 2020
1 parent 2eab483 commit 10e70e5
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 @@ -411,7 +411,7 @@ function generateNewAndResolvedInstanceEvents(params: GenerateNewAndResolvedInst
}

for (const id of currentAlertInstanceIds) {
const { actionGroup } = currentAlertInstances[id].getScheduledActionOptions()!;
const actionGroup = currentAlertInstances[id].getScheduledActionOptions()?.actionGroup;
const message = `${params.alertLabel} active instance: '${id}' in actionGroup: '${actionGroup}'`;
logInstanceEvent(id, EVENT_LOG_ACTIONS.activeInstance, message, actionGroup);
}
Expand Down

0 comments on commit 10e70e5

Please sign in to comment.