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:
parent
51c0c8148a
commit
ea27621d4a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user