Don't check for cpuset cgroup, not always required?

This commit is contained in:
Darren Shepherd 2019-01-22 13:42:12 -07:00 committed by rafaelbreno[commit]
parent 2e33e0695f
commit 8e2b47c3d4

View File

@ -162,7 +162,7 @@ func validateSystemRequirements(mountUtil mount.Interface) (features, error) {
return f, nil return f, nil
} }
expectedCgroups := sets.New("cpu", "cpuacct", "cpuset", "memory") expectedCgroups := sets.New("cpu", "cpuacct", "memory")
for _, mountPoint := range mountPoints { for _, mountPoint := range mountPoints {
if mountPoint.Type == cgroupMountType { if mountPoint.Type == cgroupMountType {
for _, opt := range mountPoint.Opts { for _, opt := range mountPoint.Opts {