Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ protected static S3AStorageStatistics createStorageStatistics() {
@Retries.RetryTranslated
protected void verifyBucketExists()
throws FileNotFoundException, IOException {
if (!invoker.retry("doesBucketExist", bucket, true,
() -> s3.doesBucketExist(bucket))) {
if (!invoker.retry("doesBucketExistV2", bucket, true,
() -> s3.doesBucketExistV2(bucket))) {
throw new FileNotFoundException("Bucket " + bucket + " does not exist");
}
}
Expand Down