summaryrefslogtreecommitdiff
path: root/libpod/container_inspect.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-21 14:46:54 +0200
committerGitHub <noreply@github.com>2019-06-21 14:46:54 +0200
commit7d8aba924820447a9f07b78dbaf795f94c4e906d (patch)
treed54d886bbea33a0b15dbbf64e7f21d438cbe0919 /libpod/container_inspect.go
parent54920601ae69ca9b22bda75882425b88cd99efea (diff)
parent2ee24046838087c335af7c8bf8ae39ba129cd799 (diff)
downloadpodman-7d8aba924820447a9f07b78dbaf795f94c4e906d.tar.gz
podman-7d8aba924820447a9f07b78dbaf795f94c4e906d.tar.bz2
podman-7d8aba924820447a9f07b78dbaf795f94c4e906d.zip
Merge pull request #3378 from mheon/multiple_runtimes
Begin adding support for multiple OCI runtimes
Diffstat (limited to 'libpod/container_inspect.go')
-rw-r--r--libpod/container_inspect.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container_inspect.go b/libpod/container_inspect.go
index 752823634..1d12b1b35 100644
--- a/libpod/container_inspect.go
+++ b/libpod/container_inspect.go
@@ -31,6 +31,7 @@ type InspectContainerData struct {
HostsPath string `json:"HostsPath"`
StaticDir string `json:"StaticDir"`
OCIConfigPath string `json:"OCIConfigPath,omitempty"`
+ OCIRuntime string `json:"OCIRuntime,omitempty"`
LogPath string `json:"LogPath"`
ConmonPidFile string `json:"ConmonPidFile"`
Name string `json:"Name"`
@@ -274,6 +275,7 @@ func (c *Container) getContainerInspectData(size bool, driverData *driver.Data)
HostsPath: hostsPath,
StaticDir: config.StaticDir,
LogPath: config.LogPath,
+ OCIRuntime: config.OCIRuntime,
ConmonPidFile: config.ConmonPidFile,
Name: config.Name,
RestartCount: int32(runtimeInfo.RestartCount),