mirror of
https://github.com/containers/podman.git
synced 2026-10-27 04:09:19 -04:00
Set Checkpointed state to false after restore
A restored container still had the state set to 'Checkpointed: true' which seems wrong if it running again. [NO NEW TESTS NEEDED] Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user