Skip to content

Commit

Permalink
Pass set to SystemIndexRegistry.matchesSystemIndexPattern (#4569)
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <cwperx@amazon.com>
(cherry picked from commit 32bcf7b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Jul 16, 2024
1 parent 9958f25 commit acfb80e
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 acfb80e

Please sign in to comment.