summaryrefslogtreecommitdiff
path: root/libpod/container_inspect.go
diff options
context:
space:
mode:
authorchenkang <kongchen28@gmail.com>2021-04-17 23:35:27 +0800
committerchenkang <kongchen28@gmail.com>2021-04-17 23:35:27 +0800
commita1002beb78e3a63c0704f5cd8f6ff6556e60bb2f (patch)
tree9b05eb69ae41ef074f653f793ca57b24b7884797 /libpod/container_inspect.go
parent4ce7aa6ee8aac132c4447d8a1be0fbce31d53bdc (diff)
downloadpodman-a1002beb78e3a63c0704f5cd8f6ff6556e60bb2f.tar.gz
podman-a1002beb78e3a63c0704f5cd8f6ff6556e60bb2f.tar.bz2
podman-a1002beb78e3a63c0704f5cd8f6ff6556e60bb2f.zip
fix start it
Signed-off-by: chenkang <kongchen28@gmail.com>
Diffstat (limited to 'libpod/container_inspect.go')
-rw-r--r--libpod/container_inspect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_inspect.go b/libpod/container_inspect.go
index 57968039f..61cc43314 100644
--- a/libpod/container_inspect.go
+++ b/libpod/container_inspect.go
@@ -128,6 +128,7 @@ func (c *Container) getContainerInspectData(size bool, driverData *define.Driver
StaticDir: config.StaticDir,
OCIRuntime: config.OCIRuntime,
ConmonPidFile: config.ConmonPidFile,
+ PidFile: config.PidFile,
Name: config.Name,
RestartCount: int32(runtimeInfo.RestartCount),
Driver: driverData.Name,
@@ -141,7 +142,6 @@ func (c *Container) getContainerInspectData(size bool, driverData *define.Driver
Mounts: inspectMounts,
Dependencies: c.Dependencies(),
IsInfra: c.IsInfra(),
- PidFile: config.PidFile,
}
if c.state.ConfigPath != "" {