@ -37,7 +37,7 @@ var appPsCommand = &cli.Command{
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
tableCol := []string{"ID", "Image", "Command", "Created", "Status", "Ports", "Names"}
|
||||
tableCol := []string{"id", "image", "command", "created", "status", "ports", "names"}
|
||||
table := abraFormatter.CreateTable(tableCol)
|
||||
|
||||
for _, container := range containers {
|
||||
@ -48,7 +48,7 @@ var appPsCommand = &cli.Command{
|
||||
abraFormatter.HumanDuration(container.Created),
|
||||
container.Status,
|
||||
formatter.DisplayablePorts(container.Ports),
|
||||
strings.Join(container.Names, ","),
|
||||
strings.Join(container.Names, ", "),
|
||||
}
|
||||
table.Append(tableRow)
|
||||
}
|
||||
|
Reference in New Issue
Block a user