Fixing recovered instance reference bug (#85412)
This commit is contained in:
parent
b3d5dce1ab
commit
488591560b
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ function generateNewAndRecoveredInstanceEvents(
|
||||||
const newIds = without(currentAlertInstanceIds, ...originalAlertInstanceIds);
|
const newIds = without(currentAlertInstanceIds, ...originalAlertInstanceIds);
|
||||||
|
|
||||||
for (const id of recoveredAlertInstanceIds) {
|
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`;
|
const message = `${params.alertLabel} instance '${id}' has recovered`;
|
||||||
logInstanceEvent(id, EVENT_LOG_ACTIONS.recoveredInstance, message, actionGroup);
|
logInstanceEvent(id, EVENT_LOG_ACTIONS.recoveredInstance, message, actionGroup);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue