diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-16 11:05:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 11:05:33 +0200 |
commit | 0d14d7b7152ac7a0856fcbb2bbc0f7238ab182d6 (patch) | |
tree | bbb75dd846015cb33e2a96b1ea9a6c4ec0d62859 /pkg/api/handlers/compat/images.go | |
parent | b9c47fa40bc503e155a528174974293c6b053ec2 (diff) | |
parent | 2fcd1d7b4dca2619277607da7c8d22e9ec7620a2 (diff) | |
download | podman-0d14d7b7152ac7a0856fcbb2bbc0f7238ab182d6.tar.gz podman-0d14d7b7152ac7a0856fcbb2bbc0f7238ab182d6.tar.bz2 podman-0d14d7b7152ac7a0856fcbb2bbc0f7238ab182d6.zip |
Merge pull request #7624 from QiWang19/policy-option
Supports import&run--signature-policy
Diffstat (limited to 'pkg/api/handlers/compat/images.go')
-rw-r--r-- | pkg/api/handlers/compat/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/images.go b/pkg/api/handlers/compat/images.go index 8765e20ca..c1ba9ca66 100644 --- a/pkg/api/handlers/compat/images.go +++ b/pkg/api/handlers/compat/images.go @@ -205,7 +205,7 @@ func CreateImageFromSrc(w http.ResponseWriter, r *http.Request) { utils.Error(w, "Something went wrong.", http.StatusInternalServerError, errors.Wrap(err, "failed to write temporary file")) } } - iid, err := runtime.Import(r.Context(), source, "", query.Changes, "", false) + iid, err := runtime.Import(r.Context(), source, "", "", query.Changes, "", false) if err != nil { utils.Error(w, "Something went wrong.", http.StatusInternalServerError, errors.Wrap(err, "unable to import tarball")) return |