Skip to content

Commit 9f91cf9

Browse files
committed
Disable S3 checksum warning
1 parent c1036c6 commit 9f91cf9

File tree

1 file changed

+3
-1
lines changed
  • pkg/leeway/cache/remote

1 file changed

+3
-1
lines changed

pkg/leeway/cache/remote/s3.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,9 @@ type S3Storage struct {
360360

361361
// NewS3Storage creates a new S3 storage implementation
362362
func NewS3Storage(bucketName string, cfg *aws.Config) *S3Storage {
363-
client := s3.NewFromConfig(*cfg)
363+
client := s3.NewFromConfig(*cfg, func(o *s3.Options) {
364+
o.DisableLogOutputChecksumValidationSkipped = true
365+
})
364366
return &S3Storage{
365367
client: client,
366368
bucketName: bucketName,

0 commit comments

Comments
 (0)