fix: add state
This commit is contained in:
parent
a75b01e78a
commit
4089949a3f
|
@ -64,7 +64,7 @@ func showPSOutput(c *cli.Context) {
|
|||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
tableCol := []string{"image", "created", "status", "ports"}
|
||||
tableCol := []string{"image", "created", "status", "state", "ports"}
|
||||
table := abraFormatter.CreateTable(tableCol)
|
||||
|
||||
for _, container := range containers {
|
||||
|
@ -78,6 +78,7 @@ func showPSOutput(c *cli.Context) {
|
|||
abraFormatter.RemoveSha(container.Image),
|
||||
abraFormatter.HumanDuration(container.Created),
|
||||
container.Status,
|
||||
container.State,
|
||||
formatter.DisplayablePorts(container.Ports),
|
||||
}
|
||||
table.Append(tableRow)
|
||||
|
|
Loading…
Reference in New Issue