fix: add state

This commit is contained in:
decentral1se 2021-12-23 21:14:15 +01:00
parent a75b01e78a
commit 4089949a3f
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 2 additions and 1 deletions

View File

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