mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-25 11:13:51 +02:00
Supress "Response has no supported checksum" warnings from S3 SDK
This commit is contained in:
@@ -73,7 +73,11 @@ func New() (http.RoundTripper, error) {
|
||||
conf.Credentials = creds
|
||||
}
|
||||
|
||||
clientOptions := []func(*s3.Options){}
|
||||
clientOptions := []func(*s3.Options){
|
||||
func(o *s3.Options) {
|
||||
o.DisableLogOutputChecksumValidationSkipped = true
|
||||
},
|
||||
}
|
||||
|
||||
if len(config.S3Endpoint) != 0 {
|
||||
endpoint := config.S3Endpoint
|
||||
|
Reference in New Issue
Block a user