mirror of
https://github.com/containers/podman.git
synced 2025-06-27 13:38:49 +08:00
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
This commit is contained in:

committed by
Atomic Bot

parent
1054b8d2c5
commit
444142c7c1
@ -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.
|
||||
|
Reference in New Issue
Block a user