summaryrefslogtreecommitdiff
path: root/libpod/image/image_test.go
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2019-04-22 16:44:58 -0400
committerNalin Dahyabhai <nalin@redhat.com>2019-04-25 08:57:58 -0400
commit4daac4736e3476211de7c1672bb5161191666a91 (patch)
treeeff5bfa4d9b82363b07c09c96f44d11adcdd05a4 /libpod/image/image_test.go
parent5c81a117f16fde190acef331f5b88022fe11c550 (diff)
downloadpodman-4daac4736e3476211de7c1672bb5161191666a91.tar.gz
podman-4daac4736e3476211de7c1672bb5161191666a91.tar.bz2
podman-4daac4736e3476211de7c1672bb5161191666a91.zip
image: rework parent/child/history matching
Rework our expectations of how images that are derived from each other look, so that we don't assume that an image that's derived from a base image always adds layers relative to that base image. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Diffstat (limited to 'libpod/image/image_test.go')
-rw-r--r--libpod/image/image_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/image/image_test.go b/libpod/image/image_test.go
index 075ba119d..d917e3205 100644
--- a/libpod/image/image_test.go
+++ b/libpod/image/image_test.go
@@ -139,7 +139,7 @@ func TestImage_New(t *testing.T) {
newImage, err := ir.New(context.Background(), img, "", "", writer, nil, SigningOptions{}, false, nil)
assert.NoError(t, err)
assert.NotEqual(t, newImage.ID(), "")
- err = newImage.Remove(false)
+ err = newImage.Remove(context.Background(), false)
assert.NoError(t, err)
}