mirror of
https://github.com/containers/podman.git
synced 2026-03-09 18:27:55 -04:00
We should return the raw state string without any extra formatting in
this case.
`{{.Status}}` returns the nicely formatted string used in the default ps
output, e.g. `Up 2 seconds ago`, while `{{.State}}` returns the state as
string, e.g. `running`.
This matches the docker output and allows better use in scripts.
Fixes #18244
Signed-off-by: Paul Holzinger <pholzing@redhat.com>