Skip to content

Commit

Permalink
Fixed singleton String array instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
quux00 committed Jan 17, 2025
1 parent 5c203fb commit 7ad8326
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected void doExecuteForked(Task task, ResolveClusterActionRequest request, A
* and then ignore the matching_indices value that comes back from those remotes. This is preferable to sending
* just "*" since that could be an expensive operation on clusters with thousands of indices/aliases/datastreams
*/
String[] dummyIndexExpr = { DUMMY_INDEX_FOR_OLDER_CLUSTERS };
String[] dummyIndexExpr = new String[] { DUMMY_INDEX_FOR_OLDER_CLUSTERS };
remoteClusterIndices = remoteClusterService.groupIndices(request.indicesOptions(), dummyIndexExpr, false);
if (remoteClusterIndices.isEmpty()) {
// no remote clusters are configured on the primary "querying" cluster
Expand Down

0 comments on commit 7ad8326

Please sign in to comment.