diff options
author | Jhon Honce <jhonce@redhat.com> | 2022-05-26 15:46:04 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2022-05-26 15:46:04 -0700 |
commit | e13c5f3a9ec357eaeaebab57a1dad9878764d6f9 (patch) | |
tree | 8bf4fb8c32d9a5976c01aa169799bfeca895822e /cmd/podman | |
parent | d730f2b254077e3b7753d7e7a8cd9527c59be5da (diff) | |
download | podman-e13c5f3a9ec357eaeaebab57a1dad9878764d6f9.tar.gz podman-e13c5f3a9ec357eaeaebab57a1dad9878764d6f9.tar.bz2 podman-e13c5f3a9ec357eaeaebab57a1dad9878764d6f9.zip |
Refactor populating uptime
Refactor populating uptime field to use standard library parsing and
math for populating the hour, minute, seconds fields.
Note: the go-humanize package does not cover time.Duration just
time.time.
```release-note
NONE
```
[NO NEW TESTS NEEDED]
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd/podman')
0 files changed, 0 insertions, 0 deletions