Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
| ... | ... |
@@ -133,10 +133,10 @@ func init() {
|
| 133 | 133 |
|
| 134 | 134 |
func setupBaseImage() {
|
| 135 | 135 |
eng := newTestEngine(log.New(os.Stderr, "", 0), false, unitTestStoreBase) |
| 136 |
- job := eng.Job("inspect", unitTestImageName, "image")
|
|
| 136 |
+ job := eng.Job("image_inspect", unitTestImageName)
|
|
| 137 | 137 |
img, _ := job.Stdout.AddEnv() |
| 138 | 138 |
// If the unit test is not found, try to download it. |
| 139 |
- if err := job.Run(); err != nil || img.Get("id") != unitTestImageID {
|
|
| 139 |
+ if err := job.Run(); err != nil || img.Get("Id") != unitTestImageID {
|
|
| 140 | 140 |
// Retrieve the Image |
| 141 | 141 |
job = eng.Job("pull", unitTestImageName)
|
| 142 | 142 |
job.Stdout.Add(utils.NopWriteCloser(os.Stdout)) |