aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod/manifests.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-09-29 14:15:37 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-09-29 14:16:42 +0200
commite2fe9eabac61c4d5e1e9095c2cac1982409371d4 (patch)
tree8da0d9ff7a7a985f3ecd9de5c13190186c1f6839 /pkg/api/handlers/libpod/manifests.go
parentf52feded3ce6c1ad2af046ab774fbc2b9c832487 (diff)
downloadpodman-e2fe9eabac61c4d5e1e9095c2cac1982409371d4.tar.gz
podman-e2fe9eabac61c4d5e1e9095c2cac1982409371d4.tar.bz2
podman-e2fe9eabac61c4d5e1e9095c2cac1982409371d4.zip
Revert "remote: fix manifest add --annotation"
This reverts commit 32f54a81ed797597827123b671b6e73194354327. `pkg/bindings` is supported outside of podman and we have to keep it stable. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/api/handlers/libpod/manifests.go')
-rw-r--r--pkg/api/handlers/libpod/manifests.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/handlers/libpod/manifests.go b/pkg/api/handlers/libpod/manifests.go
index f50bfd360..c96e4936b 100644
--- a/pkg/api/handlers/libpod/manifests.go
+++ b/pkg/api/handlers/libpod/manifests.go
@@ -11,8 +11,8 @@ import (
"strconv"
"strings"
- "github.com/containers/common/libimage"
"github.com/containers/image/v5/docker/reference"
+ "github.com/containers/image/v5/manifest"
"github.com/containers/image/v5/types"
"github.com/containers/podman/v4/libpod"
"github.com/containers/podman/v4/pkg/api/handlers"
@@ -148,7 +148,7 @@ func ManifestInspect(w http.ResponseWriter, r *http.Request) {
return
}
- var schema2List libimage.ManifestListData
+ var schema2List manifest.Schema2List
if err := json.Unmarshal(rawManifest, &schema2List); err != nil {
utils.Error(w, http.StatusInternalServerError, err)
return