summaryrefslogtreecommitdiff
path: root/libpod/image/search.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-29 07:59:04 -0700
committerGitHub <noreply@github.com>2019-03-29 07:59:04 -0700
commit8b5f101726408c6d1d0649b68ba1e47d61765ce2 (patch)
treeead1ab571b6c9133f180d46700315d4509db7edf /libpod/image/search.go
parent284dea453d77f524c400e6c26812828d8a7439c7 (diff)
parent6b0ac2301beb3c9cfbb8af89e9964465a890fd22 (diff)
downloadpodman-8b5f101726408c6d1d0649b68ba1e47d61765ce2.tar.gz
podman-8b5f101726408c6d1d0649b68ba1e47d61765ce2.tar.bz2
podman-8b5f101726408c6d1d0649b68ba1e47d61765ce2.zip
Merge pull request #2635 from rhatdan/cache
Set blob cache directory based on GraphDriver
Diffstat (limited to 'libpod/image/search.go')
-rw-r--r--libpod/image/search.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpod/image/search.go b/libpod/image/search.go
index 212eff00b..2c66ce284 100644
--- a/libpod/image/search.go
+++ b/libpod/image/search.go
@@ -9,7 +9,6 @@ import (
"github.com/containers/image/docker"
"github.com/containers/image/types"
- "github.com/containers/libpod/libpod/common"
sysreg "github.com/containers/libpod/pkg/registries"
"github.com/fatih/camelcase"
"github.com/pkg/errors"
@@ -157,7 +156,7 @@ func searchImageInRegistry(term string, registry string, options SearchOptions)
limit = options.Limit
}
- sc := common.GetSystemContext("", options.Authfile, false)
+ sc := GetSystemContext("", options.Authfile, false)
sc.DockerInsecureSkipTLSVerify = options.InsecureSkipTLSVerify
// FIXME: Set this more globally. Probably no reason not to have it in
// every types.SystemContext, and to compute the value just once in one