mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
Merge pull request #12117 from adrianreber/2021-10-27-set-checkpointed-false-after-restore
Set Checkpointed state to false after restore
This commit is contained in:
commit
d2147bada6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue