diff options
author | Adrian Reber <areber@redhat.com> | 2019-08-02 10:26:50 +0200 |
---|---|---|
committer | Adrian Reber <areber@redhat.com> | 2019-08-05 14:29:07 +0200 |
commit | 82b586349c81e071f5e024ecf35ab005ea326df6 (patch) | |
tree | 792022abe7d510704002d2231d0fdd3746fde1ae /libpod/boltdb_state_internal.go | |
parent | 2cc5913bed1fb16690eb27c6e636867a5946070e (diff) | |
download | podman-82b586349c81e071f5e024ecf35ab005ea326df6.tar.gz podman-82b586349c81e071f5e024ecf35ab005ea326df6.tar.bz2 podman-82b586349c81e071f5e024ecf35ab005ea326df6.zip |
restore: correctly set StartedTime
A container restored from an exported checkpoint did not have its
StartedTime set. Which resulted in a status like 'Up 292 years ago'
after the restore.
This just sets the StartedTime to time.Now() if a container is restored
from an exported checkpoint.
Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'libpod/boltdb_state_internal.go')
0 files changed, 0 insertions, 0 deletions