summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-20 10:55:00 -0400
committerGitHub <noreply@github.com>2021-08-20 10:55:00 -0400
commit2d43e685c322f24ce76912b441094c924ca93d70 (patch)
tree3694927ca22b709efcfc89089cdb1f0f1aff8af6 /libpod
parent81798e488334f3a5f2ffbdd835cb8a1b4b630cd7 (diff)
parentfd32c73e3ab8c2fcd691172574fec89547e256ce (diff)
downloadpodman-2d43e685c322f24ce76912b441094c924ca93d70.tar.gz
podman-2d43e685c322f24ce76912b441094c924ca93d70.tar.bz2
podman-2d43e685c322f24ce76912b441094c924ca93d70.zip
Merge pull request #11286 from jwhonce/issues/11227
Update /version endpoint to add components
Diffstat (limited to 'libpod')
-rw-r--r--libpod/runtime.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index 1f403790f..c5f5db531 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -951,6 +951,11 @@ func (r *Runtime) GetOCIRuntimePath() string {
return r.defaultOCIRuntime.Path()
}
+// DefaultOCIRuntime return copy of Default OCI Runtime
+func (r *Runtime) DefaultOCIRuntime() OCIRuntime {
+ return r.defaultOCIRuntime
+}
+
// StorageConfig retrieves the storage options for the container runtime
func (r *Runtime) StorageConfig() storage.StoreOptions {
return r.storageConfig