mirror of
https://github.com/containers/podman.git
synced 2025-10-15 18:23:30 +08:00

The container/stats endpoint was unimplemented. Copy over the structure from the Linux endpoint handler, albeit with most of the stats unpopulated. This is similar to how "podman stats" returns very little info on FreeBSD. On the other hand, some orchestration tools will query the stats endpoint to check liveness of a container, so it's useful to implement it even though some fields are unimplemented for now. Signed-off-by: Mark Johnston <mark.johnston@klarasystems.com>