Skip to content

Commit

Permalink
Fix region detection logic (#741)
Browse files Browse the repository at this point in the history
  • Loading branch information
lizardoluis authored Nov 19, 2024
1 parent 5925299 commit d24aecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object_store_factory/src/aws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ pub async fn add_amazon_s3_specific_options(
url: &Url,
options: &mut HashMap<AmazonS3ConfigKey, String>,
) {
if !options.contains_key(&AmazonS3ConfigKey::Bucket)
if !options.contains_key(&AmazonS3ConfigKey::Region)
&& !options.contains_key(&AmazonS3ConfigKey::Endpoint)
{
let region = detect_region(url).await.unwrap();
Expand Down

0 comments on commit d24aecd

Please sign in to comment.