lotus/storage/sealer/cgroups.go

13 lines
269 B
Go
Raw Permalink Normal View History

//go:build !linux
// +build !linux
package sealer
func cgroupV1Mem() (memoryMax, memoryUsed, swapMax, swapUsed uint64, err error) {
return 0, 0, 0, 0, nil
}
func cgroupV2Mem() (memoryMax, memoryUsed, swapMax, swapUsed uint64, err error) {
return 0, 0, 0, 0, nil
}