From 6db081fc5e38df6e757da0af8e4e3c74eaa720f6 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Sun, 26 Apr 2020 10:16:14 -0500 Subject: 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 --- pkg/api/handlers/libpod/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/api') 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) { -- cgit v1.2.3-54-g00ecf