Skip to content

Commit

Permalink
Revert removal of update for aliases
Browse files Browse the repository at this point in the history
Signed-off-by: Chase Engelbrecht <[email protected]>
  • Loading branch information
engechas committed Feb 12, 2024
1 parent 244aace commit a0eba1b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,12 @@ class AlertIndices(
alertMapping(),
dataSources.alertsHistoryIndex
)
} else {
updateIndexMapping(
dataSources.alertsHistoryIndex ?: ALERT_HISTORY_WRITE_INDEX,
alertMapping(),
true
)
}
}
suspend fun createOrUpdateInitialAlertHistoryIndex() {
Expand Down Expand Up @@ -335,6 +341,8 @@ class AlertIndices(
findingMapping(),
findingsIndex
)
} else {
updateIndexMapping(findingsIndex, findingMapping(), true)
}
}

Expand Down

0 comments on commit a0eba1b

Please sign in to comment.