Skip to content

Commit

Permalink
Update TransportGetFindingsSearchAction.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Annie Lee committed Mar 23, 2022
1 parent 3ea19b6 commit babd908
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ class TransportGetFindingsSearchAction @Inject constructor(
findings.add(finding)
for (doc_id in doc_ids) {
// Search document in index
searchDocument(doc_id, sourceIndex, actionListener)
}
}
actionListener.onResponse(GetFindingsSearchResponse(RestStatus.OK, totalFindingCount, findings))
Expand All @@ -181,7 +182,6 @@ class TransportGetFindingsSearchAction @Inject constructor(
fun searchDocument(
documentId: String,
sourceIndex: String,
searchSourceBuilder: SearchSourceBuilder,
actionListener: ActionListener<GetFindingsSearchResponse>
) {
log.info("Entering searchDocument.kt.")
Expand Down

0 comments on commit babd908

Please sign in to comment.