Skip to content

Commit

Permalink
Update IndicesRequestCacheTests.java
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <[email protected]>
  • Loading branch information
kiranprakash154 committed Apr 8, 2024
1 parent 56f4e1f commit 6630cfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ private DirectoryReader getReader(IndexWriter writer, ShardId shardId) throws IO
return OpenSearchDirectoryReader.wrap(DirectoryReader.open(writer), shardId);
}

private IndicesRequestCache getIndicesRequestCache(Settings settings){
private IndicesRequestCache getIndicesRequestCache(Settings settings) {
IndicesService indicesService = getInstanceFromNode(IndicesService.class);
return new IndicesRequestCache(settings, (shardId -> {
IndexService indexService = null;
Expand Down

0 comments on commit 6630cfc

Please sign in to comment.