summaryrefslogtreecommitdiff
path: root/pkg/api
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-04-26 10:16:14 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-27 10:20:53 -0500
commit6db081fc5e38df6e757da0af8e4e3c74eaa720f6 (patch)
treeb1912f555c5a5abc32dbfdd64757e4ce5e4993f2 /pkg/api
parentfdf64f0c66be4569732b830ce60c98f98a7efe64 (diff)
downloadpodman-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.go2
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) {