mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-02 17:09:48 +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
|
conf.Credentials = creds
|
||||||
}
|
}
|
||||||
|
|
||||||
clientOptions := []func(*s3.Options){}
|
clientOptions := []func(*s3.Options){
|
||||||
|
func(o *s3.Options) {
|
||||||
|
o.DisableLogOutputChecksumValidationSkipped = true
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
if len(config.S3Endpoint) != 0 {
|
if len(config.S3Endpoint) != 0 {
|
||||||
endpoint := config.S3Endpoint
|
endpoint := config.S3Endpoint
|
||||||
|
Reference in New Issue
Block a user