mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
When `docker stats` stopped containers, client will get empty stats data, this commit will gurantee client always get "Name" and "ID" field, so that it can format with `ID` and `Name` fields successfully. Signed-off-by: Zhang Wei <zhangwei555@huawei.com> Upstream-commit: eb3a7c232908377f4d4c0b0ec6fd35b0be138fdd Component: engine