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 b6ed1e63ad
commit 709e0a31c2

View File

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