File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
quickwit/quickwit-config/src Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ The Google Cloud Storage flavor (`gcs`) turns off multi-object delete requests a
9090
9191* MinIO flavor*
9292
93- The MinIO flavor (` minio ` ) forces path-style access.
93+ The MinIO flavor (` minio ` ) overrides the ` region ` parameter to ` minio ` and forces path-style access.
9494
9595Example of a storage configuration for Google Cloud Storage in YAML format:
9696
Original file line number Diff line number Diff line change @@ -347,6 +347,7 @@ impl S3StorageConfig {
347347 self . disable_multipart_upload = true ;
348348 }
349349 Some ( StorageBackendFlavor :: MinIO ) => {
350+ self . region = Some ( "minio" . to_string ( ) ) ;
350351 self . force_path_style_access = true ;
351352 }
352353 _ => { }
@@ -497,6 +498,7 @@ mod tests {
497498 assert ! ( gcs_storage_config. disable_multipart_upload) ;
498499
499500 let minio_storage_config = storage_configs[ 3 ] . as_s3 ( ) . unwrap ( ) ;
501+ assert_eq ! ( minio_storage_config. region, Some ( "minio" . to_string( ) ) ) ;
500502 assert ! ( minio_storage_config. force_path_style_access) ;
501503 }
502504
You can’t perform that action at this time.
0 commit comments