forked from coop-cloud/abra
fix: simplify ps output
This commit is contained in:
parent
d02e1f247f
commit
48dd9cdeed
|
@ -64,7 +64,7 @@ func showPSOutput(c *cli.Context) {
|
|||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
tableCol := []string{"image", "created", "status", "ports", "app name", "services"}
|
||||
tableCol := []string{"image", "created", "status", "ports"}
|
||||
table := abraFormatter.CreateTable(tableCol)
|
||||
|
||||
for _, container := range containers {
|
||||
|
@ -79,8 +79,6 @@ func showPSOutput(c *cli.Context) {
|
|||
abraFormatter.HumanDuration(container.Created),
|
||||
container.Status,
|
||||
formatter.DisplayablePorts(container.Ports),
|
||||
app.StackName(),
|
||||
strings.Join(containerNames, "\n"),
|
||||
}
|
||||
table.Append(tableRow)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue