mirror of
https://github.com/docker/cli.git
synced 2026-01-22 03:22:01 +03:00
In #23614 `docker inspect` was semantically enhanced to inspect "everything". Therefore moving its logic to `_docker_container_inspect` was not correct. This commit moves it back to its original top-level location (`_docker_inspect`) so that it can be called by `_docker_{container,image}_inspect` and others (will be added in follow-up PRs). Parameterization was added in order to get caller-specific behavior. Signed-off-by: Harald Albers <github@albersweb.de> Upstream-commit: 9eb1f554028aab84beaed0d5ff6ecbcbd3848594 Component: engine