summaryrefslogtreecommitdiff
path: root/libpod/container_internal.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-07-02 18:52:55 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-07-02 18:52:55 -0400
commita1bb1987cc78dead96ef84086020f74b7c44c700 (patch)
tree928f8f2776e6027d04c2be1ef5dc52dbcd409e69 /libpod/container_internal.go
parent55e028a12ee003e057c65e376fe4b723d28ae52e (diff)
downloadpodman-a1bb1987cc78dead96ef84086020f74b7c44c700.tar.gz
podman-a1bb1987cc78dead96ef84086020f74b7c44c700.tar.bz2
podman-a1bb1987cc78dead96ef84086020f74b7c44c700.zip
Store Conmon's PID in our state and display in inspect
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r--libpod/container_internal.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index 43d2b6e61..29df233b0 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -452,6 +452,7 @@ func (c *Container) teardownStorage() error {
// It does not save the results - assumes the database will do that for us
func resetState(state *ContainerState) error {
state.PID = 0
+ state.ConmonPID = 0
state.Mountpoint = ""
state.Mounted = false
if state.State != define.ContainerStateExited {