Fix TestBuildCacheADD to check cache in out, not in id

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Upstream-commit: 21dff8cbecce458e7f532cedf1ca109c1f4fe6e2
Component: engine
This commit is contained in:
Alexandr Morozov
2014-10-06 10:04:10 -07:00
parent 2e080f911c
commit 620b3b5c3c

View File

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