mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
merge branch 'pr-2965'
Yashpal Choudhary (1): cgroup2: capitalize io stats read and write Op values LGTMs: AkihiroSuda cyphar Closes #2965
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user