add compatibility endpoint for exporting multiple images

with the recent inclusion of dealing with multiple images in a tar archive, we can now add a compatibility endpoint that was missing images/get?names=one,two.

Fixes: #7950

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2020-10-08 09:47:07 -05:00
parent 59b5f0ac32
commit 78a06c2802
3 changed files with 69 additions and 1 deletions

View File

@@ -68,4 +68,7 @@ for i in $iid ${iid:0:12} $PODMAN_TEST_IMAGE_NAME; do
t GET "libpod/images/$i/get?compress=false" 200 '[POSIX tar archive]'
done
# Export more than one image
t GET images/get?names=alpine,busybox 200 '[POSIX tar archive]'
# vim: filetype=sh