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 Rafael Breno
parent 1137b9fb5f
commit 9a6c459df2

View File

@ -165,7 +165,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 {