Browse Source

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

DarthSim 3 weeks ago
parent
commit
238e5656fa
1 changed files with 5 additions and 1 deletions
  1. 5 1
      transport/s3/s3.go

+ 5 - 1
transport/s3/s3.go

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