mirror of
https://github.com/distribution/distribution
synced 2024-11-12 05:45:51 +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)
|
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 New Issue
Block a user