Look at all cgroup mounts
This commit is contained in:
parent
1c63c39c6e
commit
b84046f12c
@ -45,7 +45,7 @@ type CgroupSubsystems struct {
|
||||
// Get information about the cgroup subsystems.
|
||||
func GetCgroupSubsystems() (CgroupSubsystems, error) {
|
||||
// Get all cgroup mounts.
|
||||
allCgroups, err := cgroups.GetCgroupMounts()
|
||||
allCgroups, err := cgroups.GetCgroupMounts(true)
|
||||
if err != nil {
|
||||
return CgroupSubsystems{}, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user