Skip to content

Commit

Permalink
Pass in requestPayer for ListObjectsV2Request in listObjects method
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaner08 authored and pettyjamesm committed Oct 26, 2024
1 parent 36bdba9 commit 87a42d7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ private FileIterator listObjects(Location location, boolean includeDirectoryObje

ListObjectsV2Request request = ListObjectsV2Request.builder()
.overrideConfiguration(context::applyCredentialProviderOverride)
.requestPayer(requestPayer)
.bucket(s3Location.bucket())
.prefix(key)
.build();
Expand Down

0 comments on commit 87a42d7

Please sign in to comment.