diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-06-01 22:38:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-01 22:38:03 +0200 |
commit | 24b364a230102acb8abdf5724c63153d50f03a6c (patch) | |
tree | cd82ce02f962975e4605f773df355de4367d3ff7 /pkg/api/handlers/libpod/manifests.go | |
parent | ce2b331fefb2ce72cb2fa93c4f3c19d25f79f2a0 (diff) | |
parent | fb4a0c572ed1264ebb12218e8905c4845cb159c5 (diff) | |
download | podman-24b364a230102acb8abdf5724c63153d50f03a6c.tar.gz podman-24b364a230102acb8abdf5724c63153d50f03a6c.tar.bz2 podman-24b364a230102acb8abdf5724c63153d50f03a6c.zip |
Merge pull request #10486 from vrothberg/tag-digest-support
support tag@digest notation
Diffstat (limited to 'pkg/api/handlers/libpod/manifests.go')
-rw-r--r-- | pkg/api/handlers/libpod/manifests.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/libpod/manifests.go b/pkg/api/handlers/libpod/manifests.go index f21eb2e80..2f36db583 100644 --- a/pkg/api/handlers/libpod/manifests.go +++ b/pkg/api/handlers/libpod/manifests.go @@ -169,7 +169,7 @@ func ManifestPush(w http.ResponseWriter, r *http.Request) { errors.Wrapf(err, "failed to parse parameters for %s", r.URL.String())) return } - if _, err := utils.ParseDockerReference(query.Destination); err != nil { + if err := utils.IsRegistryReference(query.Destination); err != nil { utils.Error(w, http.StatusText(http.StatusBadRequest), http.StatusBadRequest, err) return } |