diff options
author | Brent Baude <bbaude@redhat.com> | 2020-04-26 10:16:14 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-04-27 10:20:53 -0500 |
commit | 6db081fc5e38df6e757da0af8e4e3c74eaa720f6 (patch) | |
tree | b1912f555c5a5abc32dbfdd64757e4ce5e4993f2 /pkg/api | |
parent | fdf64f0c66be4569732b830ce60c98f98a7efe64 (diff) | |
download | podman-6db081fc5e38df6e757da0af8e4e3c74eaa720f6.tar.gz podman-6db081fc5e38df6e757da0af8e4e3c74eaa720f6.tar.bz2 podman-6db081fc5e38df6e757da0af8e4e3c74eaa720f6.zip |
enable load integration tests
fix bug where multiple images can be loaded and have to be able to handle the return of multiple names
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/handlers/libpod/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/libpod/images.go b/pkg/api/handlers/libpod/images.go index 760ab1b7c..f7be5ce9a 100644 --- a/pkg/api/handlers/libpod/images.go +++ b/pkg/api/handlers/libpod/images.go @@ -283,7 +283,7 @@ func ImagesLoad(w http.ResponseWriter, r *http.Request) { return } } - utils.WriteResponse(w, http.StatusOK, entities.ImageLoadReport{Name: loadedImage}) + utils.WriteResponse(w, http.StatusOK, entities.ImageLoadReport{Names: split}) } func ImagesImport(w http.ResponseWriter, r *http.Request) { |