Skip to content

Commit

Permalink
Merge pull request containers#12117 from adrianreber/2021-10-27-set-c…
Browse files Browse the repository at this point in the history
…heckpointed-false-after-restore

Set Checkpointed state to false after restore
  • Loading branch information
openshift-merge-robot authored Oct 28, 2021
2 parents 3bc4493 + dcbf5ca commit d2147ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libpod/container_internal_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2147ba

Please sign in to comment.