summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-11 10:23:19 +0200
committerGitHub <noreply@github.com>2019-07-11 10:23:19 +0200
commit144567b42dba2c8c426538a4b5fe7d718b43284a (patch)
tree50f91360f119eb405762c5a65a2734b42a64cbdc /libpod
parente2e8477f83f717d6a92badd317ae909cf185d04e (diff)
parentf187bab497d4380d4cd4f13ad77e7f6e8f1e8bdf (diff)
downloadpodman-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.go1
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()
}