Skip to content

Commit

Permalink
enable path style for s3 custom endpoitns
Browse files Browse the repository at this point in the history
  • Loading branch information
samster25 committed Sep 22, 2023
1 parent 84c727d commit ab9748c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daft-io/src/s3_like.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async fn build_s3_client(config: &S3Config) -> super::Result<(bool, s3::Client)>
let builder = aws_sdk_s3::config::Builder::from(&conf);
let builder = match &config.endpoint_url {
None => builder,
Some(endpoint) => builder.endpoint_url(endpoint),
Some(endpoint) => builder.endpoint_url(endpoint).force_path_style(true),
};
let builder = if let Some(region) = &config.region_name {
builder.region(Region::new(region.to_owned()))
Expand Down

0 comments on commit ab9748c

Please sign in to comment.