mirror of
https://github.com/containers/podman.git
synced 2025-06-28 22:53:21 +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():
|
case libpod.ContainerStateCreated.String(), libpod.ContainerStateConfigured.String():
|
||||||
status = "Created"
|
status = "Created"
|
||||||
default:
|
default:
|
||||||
status = "Dead"
|
status = "Error"
|
||||||
}
|
}
|
||||||
|
|
||||||
if !opts.NoTrunc {
|
if !opts.NoTrunc {
|
||||||
|
Reference in New Issue
Block a user