14 lines
356 B
Go
14 lines
356 B
Go
// +build !linux
|
|
|
|
package config
|
|
|
|
// isCgroup2UnifiedMode returns whether we are running in cgroup2 mode.
|
|
func isCgroup2UnifiedMode() (isUnified bool, isUnifiedErr error) {
|
|
return false, nil
|
|
}
|
|
|
|
// getDefaultProcessLimits returns the nofile and nproc for the current process in ulimits format
|
|
func getDefaultProcessLimits() []string {
|
|
return []string{}
|
|
}
|