浏览代码

Fix TestBuildCacheADD to check cache in out, not in id

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Alexandr Morozov 10 年之前
父节点
当前提交
21dff8cbec
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      integration-cli/docker_cli_build_test.go

+ 1 - 1
integration-cli/docker_cli_build_test.go

@@ -31,7 +31,7 @@ func TestBuildCacheADD(t *testing.T) {
 		true); err != nil {
 		t.Fatal(err)
 	}
-	out, _, err := buildImageWithOut(name,
+	_, out, err := buildImageWithOut(name,
 		fmt.Sprintf(`FROM scratch
 		ADD %s/index.html /`, server.URL),
 		true)