Skip to content

Commit

Permalink
Adjusted resolveIndex API call.
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt committed Feb 5, 2024
1 parent 31eec95 commit cfb2a86
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ class TransportGetRemoteIndexesAction @Inject constructor(
}

val clusterIndexList = mutableListOf<ClusterIndex>()
log.info("hurneyt TransportGetRemoteIndexesAction::indexes.forEach it = {}", client.threadPool().threadContext.)
if (clusterHealthResponse != null) {
indexes.forEach {
log.info("hurneyt TransportGetRemoteIndexesAction::indexes.forEach it = {}", it)
Expand Down Expand Up @@ -173,7 +174,7 @@ class TransportGetRemoteIndexesAction @Inject constructor(
log.info("hurneyt getRemoteClusters::parsedIndexes = {}", parsedIndexes)
val resolveRequest = ResolveIndexAction.Request(
parsedIndexes.toTypedArray(),
ResolveIndexAction.Request.DEFAULT_INDICES_OPTIONS
IndicesOptions.LENIENT_EXPAND_OPEN_CLOSED
)

return client.suspendUntil {
Expand Down

0 comments on commit cfb2a86

Please sign in to comment.