Supress "Response has no supported checksum" warnings from S3 SDK

This commit is contained in:
DarthSim
2025-06-04 18:25:30 +03:00
parent ea54c8a6d0
commit 238e5656fa

View File

@@ -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