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:
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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue