mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4398693201
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.