mirror of
https://github.com/distribution/distribution.git
synced 2025-07-05 03:26:52 +00:00
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:
parent
97495e5397
commit
6970080b10
@ -1,4 +1,4 @@
|
||||
//go:build arm
|
||||
//go:build arm || 386
|
||||
|
||||
package s3
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
//go:build !arm
|
||||
//go:build !arm && !386
|
||||
|
||||
package s3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user