The cleanup to sysinfo package introduced a regression. If memory cgroup isn't supported and --memory is specified when starting a container, we should return info instead of nil in checkCgroupMem(), otherwise we'll access a nil pointer. Signed-off-by: Zefan Li <lizefan@huawei.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| sysinfo.go | ||
| sysinfo_linux.go | ||
| sysinfo_linux_test.go | ||
| sysinfo_windows.go | ||
SysInfo stores information about which features a kernel supports.