Fixing recovered instance reference bug (#85412)
This commit is contained in:
parent
b3d5dce1ab
commit
488591560b
|
@ -491,7 +491,7 @@ function generateNewAndRecoveredInstanceEvents(
|
|||
const newIds = without(currentAlertInstanceIds, ...originalAlertInstanceIds);
|
||||
|
||||
for (const id of recoveredAlertInstanceIds) {
|
||||
const actionGroup = originalAlertInstances[id].getLastScheduledActions()?.group;
|
||||
const actionGroup = recoveredAlertInstances[id].getLastScheduledActions()?.group;
|
||||
const message = `${params.alertLabel} instance '${id}' has recovered`;
|
||||
logInstanceEvent(id, EVENT_LOG_ACTIONS.recoveredInstance, message, actionGroup);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue