bump containerd/cgroups 4994991857f9b0ae8dc439551e8bebdbb4bf66c1
full diff: dbea6f2bd4...4994991857
brings in https://github.com/containerd/cgroups/pull/79 Return ErrCgroupDeleted when no subsystems
fixes https://github.com/containerd/containerd/issues/3133 Custom cgroup path does not work in containerd 1.2.5
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
f2a20ead83
commit
2b8df8309e
@ -1,6 +1,6 @@
|
|||||||
github.com/containerd/go-runc 5a6d9f37cfa36b15efba46dc7ea349fa9b7143c3
|
github.com/containerd/go-runc 5a6d9f37cfa36b15efba46dc7ea349fa9b7143c3
|
||||||
github.com/containerd/console c12b1e7919c14469339a5d38f2f8ed9b64a9de23
|
github.com/containerd/console c12b1e7919c14469339a5d38f2f8ed9b64a9de23
|
||||||
github.com/containerd/cgroups dbea6f2bd41658b84b00417ceefa416b979cbf10
|
github.com/containerd/cgroups 4994991857f9b0ae8dc439551e8bebdbb4bf66c1
|
||||||
github.com/containerd/typeurl a93fcdb778cd272c6e9b3028b2f42d813e785d40
|
github.com/containerd/typeurl a93fcdb778cd272c6e9b3028b2f42d813e785d40
|
||||||
github.com/containerd/fifo 3d5202aec260678c48179c56f40e6f38a095738c
|
github.com/containerd/fifo 3d5202aec260678c48179c56f40e6f38a095738c
|
||||||
github.com/containerd/btrfs 2e1aa0ddf94f91fa282b6ed87c23bf0d64911244
|
github.com/containerd/btrfs 2e1aa0ddf94f91fa282b6ed87c23bf0d64911244
|
||||||
|
4
vendor/github.com/containerd/cgroups/cgroup.go
generated
vendored
4
vendor/github.com/containerd/cgroups/cgroup.go
generated
vendored
@ -105,6 +105,10 @@ func Load(hierarchy Hierarchy, path Path, opts ...InitOpts) (Cgroup, error) {
|
|||||||
}
|
}
|
||||||
activeSubsystems = append(activeSubsystems, s)
|
activeSubsystems = append(activeSubsystems, s)
|
||||||
}
|
}
|
||||||
|
// if we do not have any active systems then the cgroup is deleted
|
||||||
|
if len(activeSubsystems) == 0 {
|
||||||
|
return nil, ErrCgroupDeleted
|
||||||
|
}
|
||||||
return &cgroup{
|
return &cgroup{
|
||||||
path: path,
|
path: path,
|
||||||
subsystems: activeSubsystems,
|
subsystems: activeSubsystems,
|
||||||
|
Loading…
Reference in New Issue
Block a user