Update cgroups to 5933ab4dc4f7caa3a73a1dc141bd11f4
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
6
vendor/github.com/containerd/cgroups/cpu.go
generated
vendored
6
vendor/github.com/containerd/cgroups/cpu.go
generated
vendored
@@ -102,11 +102,11 @@ func (c *cpuController) Stat(path string, stats *Metrics) error {
|
||||
}
|
||||
switch key {
|
||||
case "nr_periods":
|
||||
stats.Cpu.Throttling.Periods = v
|
||||
stats.CPU.Throttling.Periods = v
|
||||
case "nr_throttled":
|
||||
stats.Cpu.Throttling.ThrottledPeriods = v
|
||||
stats.CPU.Throttling.ThrottledPeriods = v
|
||||
case "throttled_time":
|
||||
stats.Cpu.Throttling.ThrottledTime = v
|
||||
stats.CPU.Throttling.ThrottledTime = v
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user