diff options
author | Brent Baude <bbaude@redhat.com> | 2020-03-31 14:45:19 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-04-01 15:56:26 -0500 |
commit | 043308198337941a8086113619d6341528c10cd0 (patch) | |
tree | 0d8ce52e6178e464ce5689c4695c42223aeeeae3 /pkg/api/handlers/libpod | |
parent | 0f357be5aeaa5dc651659cf0945a58780641e77d (diff) | |
download | podman-043308198337941a8086113619d6341528c10cd0.tar.gz podman-043308198337941a8086113619d6341528c10cd0.tar.bz2 podman-043308198337941a8086113619d6341528c10cd0.zip |
podmanv2 import
add the ability to import a container image from a container export
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api/handlers/libpod')
-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 19c6102be..d4fd77cd7 100644 --- a/pkg/api/handlers/libpod/images.go +++ b/pkg/api/handlers/libpod/images.go @@ -300,7 +300,7 @@ func ImagesImport(w http.ResponseWriter, r *http.Request) { return } - utils.WriteResponse(w, http.StatusOK, handlers.LibpodImagesImportReport{ID: importedImage}) + utils.WriteResponse(w, http.StatusOK, entities.ImageImportReport{Id: importedImage}) } // ImagesPull is the v2 libpod endpoint for pulling images. Note that the |