mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
update kubelet to look at all cgroup mounts
This commit is contained in:
parent
07bd42a192
commit
62e1759ac0
@ -25,7 +25,7 @@ import (
|
||||
// GetCgroupSubsystems returns information about the mounted cgroup subsystems
|
||||
func GetCgroupSubsystems() (*CgroupSubsystems, error) {
|
||||
// get all cgroup mounts.
|
||||
allCgroups, err := libcontainercgroups.GetCgroupMounts()
|
||||
allCgroups, err := libcontainercgroups.GetCgroupMounts(true)
|
||||
if err != nil {
|
||||
return &CgroupSubsystems{}, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user