Skip to content

Commit a7cdb70

Browse files
committed
fix: ll_write
1 parent 0705c29 commit a7cdb70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/src/filesystem/ll_operations/ll_write.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class LLWriteBase extends LLFilesystemOperation {
5353
const storage = svc_mountpoint.get_storage();
5454

5555
bucket ??= config.s3_bucket;
56-
bucket_region ??= config.s3_region;
56+
bucket_region ??= config.s3_region ?? config.region;
5757

5858
let upload_tracker = new UploadProgressTracker();
5959

@@ -251,7 +251,7 @@ class LLCWrite extends LLWriteBase {
251251
this.field('fsentry-uid', uid);
252252

253253
// determine bucket region
254-
let bucket_region = config.s3_region;
254+
let bucket_region = config.s3_region ?? config.region;
255255
let bucket = config.s3_bucket;
256256

257257
this.checkpoint('before acl');

0 commit comments

Comments
 (0)