Skip to content

Commit 26e4421

Browse files
committed
cgroups: remove ErrCgroupV1Rootless code
Signed-off-by: Lokesh Mandvekar <[email protected]>
1 parent b7be55c commit 26e4421

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

common/pkg/cgroups/cgroups_linux.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ import (
2828
var (
2929
// ErrCgroupDeleted means the cgroup was deleted.
3030
ErrCgroupDeleted = errors.New("cgroup deleted")
31-
// ErrCgroupV1Rootless means the cgroup v1 were attempted to be used in rootless environment.
32-
ErrCgroupV1Rootless = errors.New("no support for CGroups V1 in rootless environments")
33-
ErrStatCgroup = errors.New("no cgroup available for gathering user statistics")
31+
ErrStatCgroup = errors.New("no cgroup available for gathering user statistics")
3432

3533
isUnifiedOnce sync.Once
3634
isUnified bool

0 commit comments

Comments
 (0)