typo
This commit is contained in:
parent
405a5aa44c
commit
aa9a876217
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ func getCgroupVersion() int64 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func readCgroup2FileToInt64Tuple(cgroupPath, cgroupFile string) (int64, int64) {
|
func readCgroup2FileToInt64Tuple(cgroupFile string) (int64, int64) {
|
||||||
contents, err := os.ReadFile(filepath.Join("/sys/fs/cgroup/", cgroupFile))
|
contents, err := os.ReadFile(filepath.Join("/sys/fs/cgroup/", cgroupFile))
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue