aboutsummaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-28 18:06:25 +0000
committerGitHub <noreply@github.com>2021-10-28 18:06:25 +0000
commitd2147bada6f68857ec68365943e003b327456d6b (patch)
tree2938aa4a7e6fb875d717753070f244d49d7e5cad /libpod
parent3bc449371c97486620fd368deb906c68cdaf220d (diff)
parentdcbf5cae128b2bed895899551b48fab0105ea69e (diff)
downloadpodman-d2147bada6f68857ec68365943e003b327456d6b.tar.gz
podman-d2147bada6f68857ec68365943e003b327456d6b.tar.bz2
podman-d2147bada6f68857ec68365943e003b327456d6b.zip
Merge pull request #12117 from adrianreber/2021-10-27-set-checkpointed-false-after-restore
Set Checkpointed state to false after restore
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_internal_linux.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go
index d3151f7e0..2fd519990 100644
--- a/libpod/container_internal_linux.go
+++ b/libpod/container_internal_linux.go
@@ -1546,6 +1546,7 @@ func (c *Container) restore(ctx context.Context, options ContainerCheckpointOpti
logrus.Debugf("Restored container %s", c.ID())
c.state.State = define.ContainerStateRunning
+ c.state.Checkpointed = false
if !options.Keep {
// Delete all checkpoint related files. At this point, in theory, all files