diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-07-27 00:18:34 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-01 18:22:58 +0000 |
commit | 9c9401a96c0b7d43dcea19c2972ef9612cc0a136 (patch) | |
tree | c71bbad07d3c5792d6b57e44fa24bfa70056a6a6 /libpod/image/testdata/oci-unnamed.tar.gz | |
parent | 8e7b4944f0ec685507e7ca3bb3439171b76763b8 (diff) | |
download | podman-9c9401a96c0b7d43dcea19c2972ef9612cc0a136.tar.gz podman-9c9401a96c0b7d43dcea19c2972ef9612cc0a136.tar.bz2 podman-9c9401a96c0b7d43dcea19c2972ef9612cc0a136.zip |
Replace getPullRefPair with getPullRefName
... and use pullRefPairsFromRefNames to convert to the
desired data structure later.
This will make both getPullRefName, and later the bulk of
getPullListFromRef, independent of the storage, and thus much easier to test.
Then add tests for getPullRefName. (Ideally they should be shorter,
e.g. hopefully the .image member can be eliminated.)
Should not change behavior, except that error messages on invalid
dstName will now include the value.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Closes: #1176
Approved by: rhatdan
Diffstat (limited to 'libpod/image/testdata/oci-unnamed.tar.gz')
0 files changed, 0 insertions, 0 deletions