Fix review
Signed-off-by: Simone Locci <simonelocci88@gmail.com>
This commit is contained in:
parent
51c0c8148a
commit
ea27621d4a
1 changed files with 1 additions and 4 deletions
|
@ -477,10 +477,7 @@ func New(params DriverParameters) (*Driver, error) {
|
||||||
awsConfig.WithEndpoint(params.RegionEndpoint)
|
awsConfig.WithEndpoint(params.RegionEndpoint)
|
||||||
}
|
}
|
||||||
|
|
||||||
if params.S3Accelerate {
|
awsConfig.WithS3UseAccelerate(params.S3Accelerate)
|
||||||
awsConfig.WithS3UseAccelerate(true)
|
|
||||||
}
|
|
||||||
|
|
||||||
awsConfig.WithRegion(params.Region)
|
awsConfig.WithRegion(params.Region)
|
||||||
awsConfig.WithDisableSSL(!params.Secure)
|
awsConfig.WithDisableSSL(!params.Secure)
|
||||||
if params.UseDualStack {
|
if params.UseDualStack {
|
||||||
|
|
Loading…
Reference in a new issue