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:
haircommander
2018-07-12 12:57:26 -04:00
committed by Atomic Bot
parent 62983ddbb7
commit a1f3d44497

View File

@ -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 {