1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/sysinfo
Zefan Li 4398693201 Fix sysinfo regression
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>
2015-06-19 09:44:23 +08:00
..
README.md Add some basic doc for SysInfo 2015-03-26 23:05:07 -04:00
sysinfo.go cleanup sysinfo package 2015-06-17 20:41:14 -04:00
sysinfo_linux.go Fix sysinfo regression 2015-06-19 09:44:23 +08:00
sysinfo_linux_test.go cleanup sysinfo package 2015-06-17 20:41:14 -04:00
sysinfo_windows.go Windows: Refactor sysinfo for compilation 2015-05-14 09:44:51 -07:00

SysInfo stores information about which features a kernel supports.