aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-25 08:20:38 -0400
committerGitHub <noreply@github.com>2021-06-25 08:20:38 -0400
commitb4767817012a3aedaf05dc7a32bd823fcd3776f4 (patch)
tree2fa1c72aaecad072f3ea4b3283fed20e245c071e /vendor/github.com
parent2d191968b513d327e39376bf8fadd2b4267d15a2 (diff)
parentf95b0995e521e252af52edaf57a31241d364e3d8 (diff)
downloadpodman-b4767817012a3aedaf05dc7a32bd823fcd3776f4.tar.gz
podman-b4767817012a3aedaf05dc7a32bd823fcd3776f4.tar.bz2
podman-b4767817012a3aedaf05dc7a32bd823fcd3776f4.zip
Merge pull request #10774 from vrothberg/registries
remove `pkg/registries`
Diffstat (limited to 'vendor/github.com')
-rw-r--r--vendor/github.com/containers/common/libimage/runtime.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/containers/common/libimage/runtime.go b/vendor/github.com/containers/common/libimage/runtime.go
index 3cbd3dcf4..d07d6a83a 100644
--- a/vendor/github.com/containers/common/libimage/runtime.go
+++ b/vendor/github.com/containers/common/libimage/runtime.go
@@ -54,6 +54,11 @@ type Runtime struct {
}
// Returns a copy of the runtime's system context.
+func (r *Runtime) SystemContext() *types.SystemContext {
+ return r.systemContextCopy()
+}
+
+// Returns a copy of the runtime's system context.
func (r *Runtime) systemContextCopy() *types.SystemContext {
var sys types.SystemContext
deepcopy.Copy(&sys, &r.systemContext)