diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-29 07:59:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-29 07:59:04 -0700 |
commit | 8b5f101726408c6d1d0649b68ba1e47d61765ce2 (patch) | |
tree | ead1ab571b6c9133f180d46700315d4509db7edf /libpod/common | |
parent | 284dea453d77f524c400e6c26812828d8a7439c7 (diff) | |
parent | 6b0ac2301beb3c9cfbb8af89e9964465a890fd22 (diff) | |
download | podman-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/common')
-rw-r--r-- | libpod/common/common.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libpod/common/common.go b/libpod/common/common.go index 5d10bee36..93a736af2 100644 --- a/libpod/common/common.go +++ b/libpod/common/common.go @@ -1,20 +1,5 @@ package common -import ( - "github.com/containers/image/types" -) - -// GetSystemContext Constructs a new containers/image/types.SystemContext{} struct from the given signaturePolicy path -func GetSystemContext(signaturePolicyPath, authFilePath string, forceCompress bool) *types.SystemContext { - sc := &types.SystemContext{} - if signaturePolicyPath != "" { - sc.SignaturePolicyPath = signaturePolicyPath - } - sc.AuthFilePath = authFilePath - sc.DirForceCompress = forceCompress - return sc -} - // IsTrue determines whether the given string equals "true" func IsTrue(str string) bool { return str == "true" |