Skip to content

Commit

Permalink
Pass set to SystemIndexRegistry.matchesSystemIndexPattern (opensearch…
Browse files Browse the repository at this point in the history
…-project#4569)

Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks authored Jul 16, 2024
1 parent 6296a34 commit 32bcf7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private Set<String> getAllSystemIndices(final Resolved requestedResolved) {
.collect(Collectors.toSet());
if (isSystemIndexEnabled) {
systemIndices.addAll(systemIndexMatcher.getMatchAny(requestedResolved.getAllIndices(), Collectors.toList()));
systemIndices.addAll(SystemIndexRegistry.matchesSystemIndexPattern(requestedResolved.getAllIndices().toArray(String[]::new)));
systemIndices.addAll(SystemIndexRegistry.matchesSystemIndexPattern(requestedResolved.getAllIndices()));
}
return systemIndices;
}
Expand Down

0 comments on commit 32bcf7b

Please sign in to comment.