mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +00:00
Do not skip check for cgroup creation in the systemd mount
This commit is contained in:
parent
710374b65f
commit
238f833f65
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user