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.
|
// Get information about the cgroup subsystems.
|
||||||
func GetCgroupSubsystems() (CgroupSubsystems, error) {
|
func GetCgroupSubsystems() (CgroupSubsystems, error) {
|
||||||
// Get all cgroup mounts.
|
// Get all cgroup mounts.
|
||||||
allCgroups, err := cgroups.GetCgroupMounts()
|
allCgroups, err := cgroups.GetCgroupMounts(true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return CgroupSubsystems{}, err
|
return CgroupSubsystems{}, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user