Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
diqiu50 committed Jan 3, 2025
1 parent c175ec7 commit aafffdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/filesystem-fuse/src/s3_filesystem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl S3FileSystem {
opendal_config.insert("bucket".to_string(), bucket);

let region = {
if let Some(region) = catalog.properties.get("region") {
if let Some(region) = catalog.properties.get("s3-region") {
Some(region.clone())
} else if let Some(endpoint) = catalog.properties.get("s3-endpoint") {
extract_region(endpoint).ok()
Expand Down

0 comments on commit aafffdf

Please sign in to comment.