mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-28 13:25:42 +00: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>
SysInfo stores information about which features a kernel supports.