diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-07-28 07:26:14 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-01 18:22:59 +0000 |
commit | 444142c7c10fb5068e1786bcef37599c78177fd1 (patch) | |
tree | cdeac631c4d12c84a8bacdad9b59c7ea85bb600b /libpod/image/pull.go | |
parent | 1054b8d2c5b3d9b0dff2da82255fbe46480d2ba5 (diff) | |
download | podman-444142c7c10fb5068e1786bcef37599c78177fd1.tar.gz podman-444142c7c10fb5068e1786bcef37599c78177fd1.tar.bz2 podman-444142c7c10fb5068e1786bcef37599c78177fd1.zip |
Remove the signaturePolicyPath parameter from getCopyOptions and DRO.GetSystemContext
Use the parent types.SystemContext data instead.
Should not change behavior.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Closes: #1176
Approved by: rhatdan
Diffstat (limited to 'libpod/image/pull.go')
-rw-r--r-- | libpod/image/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/image/pull.go b/libpod/image/pull.go index 1334761e6..55e58df76 100644 --- a/libpod/image/pull.go +++ b/libpod/image/pull.go @@ -232,7 +232,7 @@ func (ir *Runtime) pullImage(ctx context.Context, inputName string, writer io.Wr } var images []string for _, imageInfo := range goal.refPairs { - copyOptions := getCopyOptions(sc, writer, signaturePolicyPath, dockerOptions, nil, signingOptions, authfile, "", false, nil) + copyOptions := getCopyOptions(sc, writer, dockerOptions, nil, signingOptions, authfile, "", false, nil) if imageInfo.srcRef.Transport().Name() == DockerTransport { imgRef := imageInfo.srcRef.DockerReference() if imgRef == nil { // This should never happen; such references can’t be created. |