diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-11 10:23:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-11 10:23:19 +0200 |
commit | 144567b42dba2c8c426538a4b5fe7d718b43284a (patch) | |
tree | 50f91360f119eb405762c5a65a2734b42a64cbdc /libpod | |
parent | e2e8477f83f717d6a92badd317ae909cf185d04e (diff) | |
parent | f187bab497d4380d4cd4f13ad77e7f6e8f1e8bdf (diff) | |
download | podman-144567b42dba2c8c426538a4b5fe7d718b43284a.tar.gz podman-144567b42dba2c8c426538a4b5fe7d718b43284a.tar.bz2 podman-144567b42dba2c8c426538a4b5fe7d718b43284a.zip |
Merge pull request #3527 from adrianreber/finish
Correctly set FinishedTime for checkpointed container
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/container_internal_linux.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go index 686a595de..aa477611f 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -636,6 +636,7 @@ func (c *Container) checkpoint(ctx context.Context, options ContainerCheckpointO } } + c.state.FinishedTime = time.Now() return c.save() } |