diff --git a/libcontainer/cgroups/fs2/io.go b/libcontainer/cgroups/fs2/io.go index c07a00867ae..bd6f2088f31 100644 --- a/libcontainer/cgroups/fs2/io.go +++ b/libcontainer/cgroups/fs2/io.go @@ -118,9 +118,9 @@ func statIo(dirPath string, stats *cgroups.Stats) error { // Accommodate the cgroup v1 naming switch op { case "rbytes": - op = "read" + op = "Read" case "wbytes": - op = "write" + op = "Write" } value, err := strconv.ParseUint(d[1], 10, 0)