From bbebf3d50003eab5fc8833eb8cd2954abb2f748a Mon Sep 17 00:00:00 2001 From: Annie Lee Date: Tue, 29 Mar 2022 16:34:30 -0700 Subject: [PATCH] Update TransportGetFindingsSearchAction.kt --- .../alerting/transport/TransportGetFindingsSearchAction.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetFindingsSearchAction.kt b/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetFindingsSearchAction.kt index 52eadf9ab..5c978a61c 100644 --- a/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetFindingsSearchAction.kt +++ b/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetFindingsSearchAction.kt @@ -99,7 +99,7 @@ class TransportGetFindingsSearchAction @Inject constructor( fun resolve( searchSourceBuilder: SearchSourceBuilder, - actionListener: ActionListener, + actionListener: ActionListener, user: User? ) { if (user == null) { @@ -167,7 +167,7 @@ class TransportGetFindingsSearchAction @Inject constructor( fun searchDocument( documentId: String, sourceIndex: String, - actionListener: ActionListener + actionListener: ActionListener ): FindingDocument? { val getRequest = GetRequest(sourceIndex, documentId) var findingDocument: FindingDocument? = null