We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4731fa1 commit 80e8182Copy full SHA for 80e8182
src/main/java/org/carlspring/cloud/storage/s3fs/S3SeekableByteChannel.java
@@ -82,7 +82,7 @@ else if (!exists && !this.options.contains(StandardOpenOption.CREATE_NEW) && !th
82
if (exists)
83
{
84
final S3Client client = path.getFileSystem().getClient();
85
- final String bucketName = path.getFileStore().getBucket().name();
+ final String bucketName = path.getBucketName();
86
final GetObjectRequest request = GetObjectRequest.builder()
87
.bucket(bucketName)
88
.key(key)
0 commit comments