diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-01-11 05:54:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-11 05:54:16 -0800 |
commit | 9368c24be6f289d21a0065df24471268ead59664 (patch) | |
tree | ee9aec7d2e4a04a4310dbd54730c9aaa7a2dfe46 /libpod/image/pull.go | |
parent | b3eb23d671425775673f86bd02b9c89ef781f590 (diff) | |
parent | c8e3dd8a9ce7ba7948a5db88608a57de07599c7b (diff) | |
download | podman-9368c24be6f289d21a0065df24471268ead59664.tar.gz podman-9368c24be6f289d21a0065df24471268ead59664.tar.bz2 podman-9368c24be6f289d21a0065df24471268ead59664.zip |
Merge pull request #2113 from baude/remoteimages
remote-client support for images
Diffstat (limited to 'libpod/image/pull.go')
-rw-r--r-- | libpod/image/pull.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/image/pull.go b/libpod/image/pull.go index 09935fe7c..203e94310 100644 --- a/libpod/image/pull.go +++ b/libpod/image/pull.go @@ -76,7 +76,7 @@ func (ir *Runtime) getPullRefPair(srcRef types.ImageReference, destName string) decomposedDest, err := decompose(destName) if err == nil && !decomposedDest.hasRegistry { // If the image doesn't have a registry, set it as the default repo - decomposedDest.registry = DefaultLocalRegistry + decomposedDest.Registry = DefaultLocalRegistry decomposedDest.hasRegistry = true destName = decomposedDest.assemble() } @@ -317,7 +317,7 @@ func (ir *Runtime) pullGoalFromPossiblyUnqualifiedName(inputName string) (*pullG } var refPairs []pullRefPair for _, registry := range searchRegistries { - decomposedImage.registry = registry + decomposedImage.Registry = registry imageName := decomposedImage.assembleWithTransport() if hasShaInInputName(inputName) { imageName = fmt.Sprintf("%s%s/%s", decomposedImage.transport, registry, inputName) |