aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod/manifests.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-29 13:22:22 +0200
committerGitHub <noreply@github.com>2022-09-29 13:22:22 +0200
commitf52feded3ce6c1ad2af046ab774fbc2b9c832487 (patch)
tree227b374d8677368691ac48bab7603771ffecc540 /pkg/api/handlers/libpod/manifests.go
parent3269ee9fea1bab7735a3668db9e6631b4fa933b9 (diff)
parent32f54a81ed797597827123b671b6e73194354327 (diff)
downloadpodman-f52feded3ce6c1ad2af046ab774fbc2b9c832487.tar.gz
podman-f52feded3ce6c1ad2af046ab774fbc2b9c832487.tar.bz2
podman-f52feded3ce6c1ad2af046ab774fbc2b9c832487.zip
Merge pull request #15988 from sstosh/manifest-annotate-remote
remote: fix manifest add --annotation
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 c96e4936b..f50bfd360 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 manifest.Schema2List
+ var schema2List libimage.ManifestListData
if err := json.Unmarshal(rawManifest, &schema2List); err != nil {
utils.Error(w, http.StatusInternalServerError, err)
return