mirror of
https://github.com/docker/cli.git
synced 2026-09-02 18:14:35 -05:00
73e8ea82772535fae891433a87885aba22c88973
docker {container,image} inspect to parameterized function
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
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%