mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
fix(deps): update module github.com/opencontainers/cgroups to v0.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
6
vendor/github.com/opencontainers/cgroups/fs2/cpu.go
generated
vendored
6
vendor/github.com/opencontainers/cgroups/fs2/cpu.go
generated
vendored
@@ -108,6 +108,12 @@ func statCpu(dirPath string, stats *cgroups.Stats) error {
|
||||
|
||||
case "throttled_usec":
|
||||
stats.CpuStats.ThrottlingData.ThrottledTime = v * 1000
|
||||
|
||||
case "nr_bursts":
|
||||
stats.CpuStats.BurstData.BurstsPeriods = v
|
||||
|
||||
case "burst_usec":
|
||||
stats.CpuStats.BurstData.BurstTime = v * 1000
|
||||
}
|
||||
}
|
||||
if err := sc.Err(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user