Fixed: ImagePull in runtime test

Upstream-commit: 1c6af604e824d8fa2896c4906f05a0a3729c8e52
Component: engine
This commit is contained in:
shin-
2013-08-23 04:32:09 +02:00
parent 5443b4f352
commit b2a84c3f0c

View File

@ -101,7 +101,7 @@ func init() {
// If the unit test is not found, try to download it.
if img, err := globalRuntime.repositories.LookupImage(unitTestImageName); err != nil || img.ID != unitTestImageID {
// Retrieve the Image
if err := srv.ImagePull(unitTestImageName, "", os.Stdout, utils.NewStreamFormatter(false), nil, true); err != nil {
if err := srv.ImagePull(unitTestImageName, "", os.Stdout, utils.NewStreamFormatter(false), nil, nil, true); err != nil {
panic(err)
}
}