s3-aws: fix build for 386

When building for 386, we got the following build error:

  registry/storage/driver/s3-aws/s3.go:312:99: cannot use
  maxChunkSize (untyped int constant 5368709120) as int value
  in argument to getParameterAsInteger (overflows)

This is because the s3_64bit.go is used. Adjust the build tag matching
in s3_32bit.go and s3_64bit.go to fix this issue.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
This commit is contained in:
Chen Qi 2025-05-29 11:28:38 +08:00
parent 97495e5397
commit 6970080b10
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
//go:build arm
//go:build arm || 386
package s3

View File

@ -1,4 +1,4 @@
//go:build !arm
//go:build !arm && !386
package s3