Skip to content

Commit

Permalink
Use filter for s3 sub directories in ControllerS3
Browse files Browse the repository at this point in the history
  • Loading branch information
tdrwenski authored and haileyajohnson committed Apr 26, 2023
1 parent 8dbc3e5 commit 5cc767a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public Iterator<MFile> getSubdirs(CollectionConfig mc, boolean recheck) {
logger.error("Error creating MFile for {} bucket {}", commonPrefix, initialUri.getBucket(), e);
}
}
return mFiles.iterator();
return new FilteredIterator(mc, mFiles.iterator(), true);
}

@Override
Expand Down

0 comments on commit 5cc767a

Please sign in to comment.