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
90
90
91
91
* MinIO flavor*
92
92
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.
94
94
95
95
Example of a storage configuration for Google Cloud Storage in YAML format:
96
96
Original file line number Diff line number Diff line change @@ -347,6 +347,7 @@ impl S3StorageConfig {
347
347
self . disable_multipart_upload = true ;
348
348
}
349
349
Some ( StorageBackendFlavor :: MinIO ) => {
350
+ self . region = Some ( "minio" . to_string ( ) ) ;
350
351
self . force_path_style_access = true ;
351
352
}
352
353
_ => { }
@@ -497,6 +498,7 @@ mod tests {
497
498
assert ! ( gcs_storage_config. disable_multipart_upload) ;
498
499
499
500
let minio_storage_config = storage_configs[ 3 ] . as_s3 ( ) . unwrap ( ) ;
501
+ assert_eq ! ( minio_storage_config. region, Some ( "minio" . to_string( ) ) ) ;
500
502
assert ! ( minio_storage_config. force_path_style_access) ;
501
503
}
502
504
You can’t perform that action at this time.
0 commit comments