From 730d9ba17421e82012664c44aef7f64600b756cb Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Mon, 2 Jun 2014 19:54:33 +0000 Subject: [PATCH] fix busybox image detection Docker-DCO-1.1-Signed-off-by: Victor Vieux (github: vieux) --- integration/runtime_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/runtime_test.go b/integration/runtime_test.go index 9c59d38e01..96df15be60 100644 --- a/integration/runtime_test.go +++ b/integration/runtime_test.go @@ -133,10 +133,10 @@ func init() { func setupBaseImage() { eng := newTestEngine(log.New(os.Stderr, "", 0), false, unitTestStoreBase) - job := eng.Job("inspect", unitTestImageName, "image") + job := eng.Job("image_inspect", unitTestImageName) img, _ := job.Stdout.AddEnv() // If the unit test is not found, try to download it. - if err := job.Run(); err != nil || img.Get("id") != unitTestImageID { + if err := job.Run(); err != nil || img.Get("Id") != unitTestImageID { // Retrieve the Image job = eng.Job("pull", unitTestImageName) job.Stdout.Add(utils.NopWriteCloser(os.Stdout))