diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-07-20 12:50:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-20 12:50:18 -0400 |
commit | 6cae4a0e94cf2ee66687ee0cbf553270396c2d5c (patch) | |
tree | a383b1728be7a00732a16ba7e3a504e5ebce3766 /libpod/image/image_test.go | |
parent | 7944bca4681893971ad6bda4ade4e1b3470b9559 (diff) | |
parent | 0fecfeee6398e2db6b7b3fd257645a6ea9aab542 (diff) | |
download | podman-6cae4a0e94cf2ee66687ee0cbf553270396c2d5c.tar.gz podman-6cae4a0e94cf2ee66687ee0cbf553270396c2d5c.tar.bz2 podman-6cae4a0e94cf2ee66687ee0cbf553270396c2d5c.zip |
Merge pull request #1103 from haircommander/load_dockerless
Podman load/tag/save prepends localhost when no registry is present
Diffstat (limited to 'libpod/image/image_test.go')
-rw-r--r-- | libpod/image/image_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/image/image_test.go b/libpod/image/image_test.go index 71beed495..04877dbe5 100644 --- a/libpod/image/image_test.go +++ b/libpod/image/image_test.go @@ -170,12 +170,12 @@ func TestImage_MatchRepoTag(t *testing.T) { // foo should resolve to foo:latest repoTag, err := newImage.MatchRepoTag("foo") assert.NoError(t, err) - assert.Equal(t, "foo:latest", repoTag) + assert.Equal(t, "localhost/foo:latest", repoTag) // foo:bar should resolve to foo:bar repoTag, err = newImage.MatchRepoTag("foo:bar") assert.NoError(t, err) - assert.Equal(t, "foo:bar", repoTag) + assert.Equal(t, "localhost/foo:bar", repoTag) // Shutdown the runtime and remove the temporary storage cleanup(workdir, ir) } |