Commit a983b7eb authored by Darren Shepherd's avatar Darren Shepherd

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

parent 45f00e24
...@@ -163,7 +163,7 @@ func validateSystemRequirements(mountUtil mount.Interface) (features, error) { ...@@ -163,7 +163,7 @@ func validateSystemRequirements(mountUtil mount.Interface) (features, error) {
return f, fmt.Errorf("%s - %v", localErr, err) return f, fmt.Errorf("%s - %v", localErr, err)
} }
expectedCgroups := sets.NewString("cpu", "cpuacct", "cpuset", "memory") expectedCgroups := sets.NewString("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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment