summaryrefslogtreecommitdiff
path: root/libpod/image/pull.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2018-07-28 07:33:01 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-01 18:22:59 +0000
commitb63b84ea5e06393d997254e17372f6af8ab8bcac (patch)
treeb9cdbe501ee81154bbb9613792aa337114e93cce /libpod/image/pull.go
parent444142c7c10fb5068e1786bcef37599c78177fd1 (diff)
downloadpodman-b63b84ea5e06393d997254e17372f6af8ab8bcac.tar.gz
podman-b63b84ea5e06393d997254e17372f6af8ab8bcac.tar.bz2
podman-b63b84ea5e06393d997254e17372f6af8ab8bcac.zip
Remove the authFile 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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/image/pull.go b/libpod/image/pull.go
index 55e58df76..8da51c079 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, dockerOptions, nil, signingOptions, authfile, "", false, nil)
+ copyOptions := getCopyOptions(sc, writer, dockerOptions, nil, signingOptions, "", 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.