diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-08 09:56:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 09:56:23 +0200 |
commit | ae0a9c6c8acd4e675ce4afbff161f9e5857082e6 (patch) | |
tree | 85ccfae902261801ab73dee7536d9c5d4c7bc430 /libpod/container_internal.go | |
parent | 598d914e625616da49df7c068ffd84135d12571e (diff) | |
parent | bfcd83ecd680fccd2efeadf695a9cd2c603a997f (diff) | |
download | podman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.tar.gz podman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.tar.bz2 podman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.zip |
Merge pull request #11471 from mheon/checkpointed
Add Checkpointed bool to Inspect
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r-- | libpod/container_internal.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index 9082b136a..4d1a25541 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -584,6 +584,7 @@ func resetState(state *ContainerState) { state.StoppedByUser = false state.RestartPolicyMatch = false state.RestartCount = 0 + state.Checkpointed = false } // Refresh refreshes the container's state after a restart. @@ -1110,6 +1111,7 @@ func (c *Container) init(ctx context.Context, retainRetries bool) error { c.state.ExecSessions = make(map[string]*ExecSession) } + c.state.Checkpointed = false c.state.ExitCode = 0 c.state.Exited = false c.state.State = define.ContainerStateCreated |