Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nickorlow committed Apr 24, 2023
1 parent 405a5aa commit aa9a876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/runtime/cpu_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))

if err != nil {
Expand Down

0 comments on commit aa9a876

Please sign in to comment.