Fixed: ImagePull in runtime test

Upstream-commit: 29be20f987a7a7bb8aeb89bd15ae31840b0b5df5
Component: engine
This commit is contained in:
shin-
2013-08-23 04:32:09 +02:00
committed by Michael Crosby
parent 2a139cc504
commit cb892ac7f3

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)
}
}