1
0
mirror of https://github.com/distribution/distribution synced 2024-11-06 19:35:52 +01:00

Fix review

Signed-off-by: Simone Locci <simonelocci88@gmail.com>
This commit is contained in:
Simone Locci 2020-07-14 09:46:14 +02:00 committed by Simone Locci
parent 51c0c8148a
commit ea27621d4a
No known key found for this signature in database
GPG Key ID: EA8A965E9EA17D84

@ -477,10 +477,7 @@ func New(params DriverParameters) (*Driver, error) {
awsConfig.WithEndpoint(params.RegionEndpoint)
}
if params.S3Accelerate {
awsConfig.WithS3UseAccelerate(true)
}
awsConfig.WithS3UseAccelerate(params.S3Accelerate)
awsConfig.WithRegion(params.Region)
awsConfig.WithDisableSSL(!params.Secure)
if params.UseDualStack {