1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix UsageInUsermode value on Windows

Looks like a wrong copy-paste using `RuntimeKernel100ns` twice instead of `RuntimeUser100ns`

Signed-off-by: Vincent Boulineau <vincent.boulineau@datadoghq.com>
This commit is contained in:
vboulineau 2020-03-18 09:34:47 +01:00 committed by Vincent Boulineau
parent 37defbfd9b
commit ec16053ccf
No known key found for this signature in database
GPG key ID: 0A70714960C85958

View file

@ -556,7 +556,7 @@ func (daemon *Daemon) stats(c *container.Container) (*types.StatsJSON, error) {
CPUUsage: types.CPUUsage{
TotalUsage: hcss.Processor.TotalRuntime100ns,
UsageInKernelmode: hcss.Processor.RuntimeKernel100ns,
UsageInUsermode: hcss.Processor.RuntimeKernel100ns,
UsageInUsermode: hcss.Processor.RuntimeUser100ns,
},
}