Skip to content

Commit

Permalink
fix acknowledge chained alert bug
Browse files Browse the repository at this point in the history
Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
  • Loading branch information
eirsep committed Jul 10, 2023
1 parent a08df9e commit 2915663
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class TransportAcknowledgeChainedAlertAction @Inject constructor(
try {
val queryBuilder = QueryBuilders.boolQuery()
.must(
QueryBuilders.wildcardQuery("workflow_id", "request.workflowId")
QueryBuilders.wildcardQuery("workflow_id", request.workflowId)
)
.must(QueryBuilders.termsQuery("_id", request.alertIds))
if (workflow.inputs.isEmpty() || (workflow.inputs[0] is CompositeInput) == false) {
Expand Down

0 comments on commit 2915663

Please sign in to comment.