diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2019-04-22 16:44:58 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2019-04-25 08:57:58 -0400 |
commit | 4daac4736e3476211de7c1672bb5161191666a91 (patch) | |
tree | eff5bfa4d9b82363b07c09c96f44d11adcdd05a4 /libpod/image/image_test.go | |
parent | 5c81a117f16fde190acef331f5b88022fe11c550 (diff) | |
download | podman-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.go | 2 |
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) } |