forked from coop-cloud/abra
feat: more info on volumes. skip driver info
This commit is contained in:
parent
c66695d55e
commit
f0fc1027e5
|
@ -31,13 +31,10 @@ var appVolumeListCommand = cli.Command{
|
||||||
logrus.Fatal(err)
|
logrus.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
table := formatter.CreateTable([]string{"driver", "volume name"})
|
table := formatter.CreateTable([]string{"name", "created", "mounted"})
|
||||||
var volTable [][]string
|
var volTable [][]string
|
||||||
for _, volume := range volumeList {
|
for _, volume := range volumeList {
|
||||||
volRow := []string{
|
volRow := []string{volume.Name, volume.CreatedAt, volume.Mountpoint}
|
||||||
volume.Driver,
|
|
||||||
volume.Name,
|
|
||||||
}
|
|
||||||
volTable = append(volTable, volRow)
|
volTable = append(volTable, volRow)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue