diff options
author | cdoern <cbdoer23@g.holycross.edu> | 2022-04-12 22:21:33 -0400 |
---|---|---|
committer | cdoern <cbdoer23@g.holycross.edu> | 2022-04-25 14:14:45 -0400 |
commit | d441a711e5590cc579ae0e0a73ea463718d4d79e (patch) | |
tree | 415249c671acb4223867b879749efa5221786fe9 /vendor/github.com/docker/go-metrics/helpers.go | |
parent | ba6356280a86531d3cda7016859aef98bb3d8272 (diff) | |
download | podman-d441a711e5590cc579ae0e0a73ea463718d4d79e.tar.gz podman-d441a711e5590cc579ae0e0a73ea463718d4d79e.tar.bz2 podman-d441a711e5590cc579ae0e0a73ea463718d4d79e.zip |
machine starting status
podman machine was using the file modification time to get the running status
add three new config entries Starting (bool) Created (time) LastUp (time) to actually
keep track of when these events happened. This means we can use the config file
to actually store this data and not mess up the created/last-up time.
This fixes the issues where the machine would report running 15 seconds before it was up.
Also fixes the issue of modifying the file manually and saying the machine is "up"
[NO NEW TESTS NEEDED]
resolves #13711
Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
Diffstat (limited to 'vendor/github.com/docker/go-metrics/helpers.go')
0 files changed, 0 insertions, 0 deletions