mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
Do not skip check for cgroup creation in the systemd mount
This commit is contained in:
@@ -54,10 +54,8 @@ func (m *cgroupManagerImpl) Exists(name string) bool {
|
||||
}
|
||||
|
||||
// If even one cgroup doesn't exist we go on to create it
|
||||
// @TODO(dubstack) We skip check for systemd until we update
|
||||
// libcontainer in vendor
|
||||
for key, path := range cgroupPaths {
|
||||
if key != "systemd" && !libcontainercgroups.PathExists(path) {
|
||||
for _, path := range cgroupPaths {
|
||||
if !libcontainercgroups.PathExists(path) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user