summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaircommander <pehunt@redhat.com>2018-07-12 12:57:26 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-12 17:21:06 +0000
commita1f3d44497cbdc393063164b60a1875edf4e1548 (patch)
tree4f02cc3a8c9e7351158c941438a3d5d9c152de4d
parent62983ddbb7f2db890980abedeac36bd96b2786e5 (diff)
downloadpodman-a1f3d44497cbdc393063164b60a1875edf4e1548.tar.gz
podman-a1f3d44497cbdc393063164b60a1875edf4e1548.tar.bz2
podman-a1f3d44497cbdc393063164b60a1875edf4e1548.zip
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
-rw-r--r--cmd/podman/ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go
index a89523e83..49e43ffac 100644
--- a/cmd/podman/ps.go
+++ b/cmd/podman/ps.go
@@ -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 {