summaryrefslogtreecommitdiff
path: root/libpod/runtime.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2021-08-19 14:19:45 -0700
committerJhon Honce <jhonce@redhat.com>2021-08-19 14:19:45 -0700
commitfd32c73e3ab8c2fcd691172574fec89547e256ce (patch)
treec04edf1b50a961e86f074d9d9216a6b6dec9d314 /libpod/runtime.go
parentf988cfe1463f795f51f64e0887ba9dd9fe85b23d (diff)
downloadpodman-fd32c73e3ab8c2fcd691172574fec89547e256ce.tar.gz
podman-fd32c73e3ab8c2fcd691172574fec89547e256ce.tar.bz2
podman-fd32c73e3ab8c2fcd691172574fec89547e256ce.zip
Update /version endpoint to add components
* Include OCI and conmon information as components Fixes #11227 Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'libpod/runtime.go')
-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