mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
libpod: Fill out OnlineCPUs in the FreeBSD stats handler
Signed-off-by: Mark Johnston <mark.johnston@klarasystems.com>
This commit is contained in:
@ -30,7 +30,7 @@ func statsContainerJSON(ctnr *libpod.Container, stats *define.ContainerStats, pr
|
||||
TotalUsage: stats.CPUNano,
|
||||
},
|
||||
CPU: stats.CPU,
|
||||
OnlineCPUs: 0,
|
||||
OnlineCPUs: uint32(onlineCPUs),
|
||||
ThrottlingData: container.ThrottlingData{},
|
||||
},
|
||||
PreCPUStats: preCPUStats,
|
||||
|
Reference in New Issue
Block a user