Zhang Wei 8bc92ae008 Assert error in body of function inspectField*
1. Replace raw `docker inspect -f xxx` with `inspectField`, to make code
cleaner and more consistent
2. assert the error in function `inspectField*` so we don't need to
assert the return value of it every time, this will make inspect easier.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
Upstream-commit: 62a856e9129c9d5cf7db9ea6322c9073d68e3ea4
Component: engine
2016-01-29 23:39:07 +08:00
S
Description
The Docker CLI
357 MiB
Languages
Go 92.3%
Shell 5.4%
Dockerfile 1.1%
Go-Checksums 0.7%
Makefile 0.3%
Other 0.2%