mirror of
https://github.com/containers/podman.git
synced 2025-06-28 14:29:04 +08:00
Changed container status of Unknown from being printed as Dead to Error in Ps
Signed-off-by: haircommander <pehunt@redhat.com> Closes: #1083 Approved by: rhatdan
This commit is contained in:

committed by
Atomic Bot

parent
62983ddbb7
commit
a1f3d44497
@ -519,7 +519,7 @@ func getTemplateOutput(psParams []psJSONParams, opts batchcontainer.PsOptions) (
|
||||
case libpod.ContainerStateCreated.String(), libpod.ContainerStateConfigured.String():
|
||||
status = "Created"
|
||||
default:
|
||||
status = "Dead"
|
||||
status = "Error"
|
||||
}
|
||||
|
||||
if !opts.NoTrunc {
|
||||
|
Reference in New Issue
Block a user