mirror of https://github.com/containers/podman.git
Correctly set FinishedTime for checkpointed container
During 'podman container checkpoint' the finished time was not set. This resulted in a strange container status after checkpointing: Exited (0) 292 years ago During checkpointing FinishedTime is now set to time.now(). Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
81e722d086
commit
f187bab497
|
|
@ -636,6 +636,7 @@ func (c *Container) checkpoint(ctx context.Context, options ContainerCheckpointO
|
|||
}
|
||||
}
|
||||
|
||||
c.state.FinishedTime = time.Now()
|
||||
return c.save()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue