瀏覽代碼

Fixed: ImagePull in runtime test

shin- 12 年之前
父節點
當前提交
1c6af604e8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      runtime_test.go

+ 1 - 1
runtime_test.go

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