Skip to content

Commit

Permalink
chore: comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhulbert committed Mar 1, 2024
1 parent 933905e commit 87341f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ else if (region != null)
builder.withRegion("us-east-1");

AmazonS3 s3 = builder.build();
// if we used anonymous credentials and credentials were provided, try with credentials:
// try to listBucket if we are anonymous, if we cannot, don't use anonymous.
if (credentialsProvider != null && AmazonS3Utils.areAnonymous(credentialsProvider)) {

// I initially tried checking whether the bucket exists, but
Expand Down

0 comments on commit 87341f1

Please sign in to comment.