mirror of
https://github.com/minio/minio.git
synced 2025-05-21 09:33:50 -04:00
parent
afbd3e41eb
commit
4d80de899a
@ -9,7 +9,7 @@ function _init() {
|
|||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
|
|
||||||
## List of architectures and OS to test coss compilation.
|
## List of architectures and OS to test coss compilation.
|
||||||
SUPPORTED_OSARCH="linux/ppc64le linux/mips64 linux/arm64 linux/s390x darwin/arm64 darwin/amd64 freebsd/amd64 windows/amd64 linux/arm linux/386 netbsd/amd64"
|
SUPPORTED_OSARCH="linux/ppc64le linux/mips64 linux/arm64 linux/s390x darwin/arm64 darwin/amd64 freebsd/amd64 windows/amd64 linux/arm linux/386 netbsd/amd64 linux/mips"
|
||||||
}
|
}
|
||||||
|
|
||||||
function _build() {
|
function _build() {
|
||||||
|
@ -36,7 +36,7 @@ func GetInfo(path string) (info Info, err error) {
|
|||||||
Free: uint64(s.Frsize) * s.Bavail,
|
Free: uint64(s.Frsize) * s.Bavail,
|
||||||
Files: s.Files,
|
Files: s.Files,
|
||||||
Ffree: s.Ffree,
|
Ffree: s.Ffree,
|
||||||
FSType: getFSType(s.Type),
|
FSType: getFSType(int64(s.Type)),
|
||||||
}
|
}
|
||||||
// Check for overflows.
|
// Check for overflows.
|
||||||
// https://github.com/minio/minio/issues/8035
|
// https://github.com/minio/minio/issues/8035
|
||||||
|
@ -69,7 +69,7 @@ func getSysinfoMemoryLimit() (limit uint64, err error) {
|
|||||||
|
|
||||||
// Total RAM is always the multiplicative value
|
// Total RAM is always the multiplicative value
|
||||||
// of unit size and total ram.
|
// of unit size and total ram.
|
||||||
return uint64(unit) * totalRAM, nil
|
return uint64(unit) * uint64(totalRAM), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetStats - return system statistics, currently only
|
// GetStats - return system statistics, currently only
|
||||||
|
Loading…
x
Reference in New Issue
Block a user