Update cgroups to 5933ab4dc4f7caa3a73a1dc141bd11f4
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
8
vendor/github.com/containerd/cgroups/cpuacct.go
generated
vendored
8
vendor/github.com/containerd/cgroups/cpuacct.go
generated
vendored
@@ -43,10 +43,10 @@ func (c *cpuacctController) Stat(path string, stats *Metrics) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
stats.Cpu.Usage.Total = total
|
||||
stats.Cpu.Usage.User = user
|
||||
stats.Cpu.Usage.Kernel = kernel
|
||||
stats.Cpu.Usage.PerCpu = percpu
|
||||
stats.CPU.Usage.Total = total
|
||||
stats.CPU.Usage.User = user
|
||||
stats.CPU.Usage.Kernel = kernel
|
||||
stats.CPU.Usage.PerCPU = percpu
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user