Skip to content

Commit

Permalink
Removing console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ymao1 committed Jun 7, 2021
1 parent b794c0a commit b2cc047
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x-pack/plugins/alerting/server/task_runner/task_runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,6 @@ function generateNewAndRecoveredInstanceEvents<
const newIds = without(currentAlertInstanceIds, ...originalAlertInstanceIds);

for (const id of recoveredAlertInstanceIds) {
// console.log(`recovered instance: ${JSON.stringify(recoveredAlertInstances[id])}`);
const { group: actionGroup, subgroup: actionSubgroup } =
recoveredAlertInstances[id].getLastScheduledActions() ?? {};
const state = recoveredAlertInstances[id].getState();
Expand All @@ -697,7 +696,6 @@ function generateNewAndRecoveredInstanceEvents<
}

for (const id of newIds) {
// console.log(`new instance: ${JSON.stringify(currentAlertInstances[id])}`);
const { actionGroup, subgroup: actionSubgroup } =
currentAlertInstances[id].getScheduledActionOptions() ?? {};
const state = currentAlertInstances[id].getState();
Expand All @@ -713,7 +711,6 @@ function generateNewAndRecoveredInstanceEvents<
}

for (const id of currentAlertInstanceIds) {
// console.log(`active instance: ${JSON.stringify(currentAlertInstances[id])}`);
const { actionGroup, subgroup: actionSubgroup } =
currentAlertInstances[id].getScheduledActionOptions() ?? {};
const state = currentAlertInstances[id].getState();
Expand Down

0 comments on commit b2cc047

Please sign in to comment.