Skip to content

Commit

Permalink
fix: use latest behavior
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx committed Nov 24, 2023
1 parent f2b6182 commit 0ce172c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/object_store/src/object/s3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,8 @@ impl S3ObjectStore {
let builder =
aws_sdk_s3::config::Builder::from(&aws_config::ConfigLoader::default().load().await)
.force_path_style(true)
.http_client(Self::new_http_client(&S3ObjectStoreConfig::default()));
.http_client(Self::new_http_client(&S3ObjectStoreConfig::default()))
.behavior_version_latest();
let config = builder
.region(Region::new("custom"))
.endpoint_url(format!("{}{}", endpoint_prefix, address))
Expand Down

0 comments on commit 0ce172c

Please sign in to comment.