From fd32c73e3ab8c2fcd691172574fec89547e256ce Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Thu, 19 Aug 2021 14:19:45 -0700 Subject: Update /version endpoint to add components * Include OCI and conmon information as components Fixes #11227 Signed-off-by: Jhon Honce --- libpod/runtime.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libpod') 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 -- cgit v1.2.3-54-g00ecf