feat: more info on volumes. skip driver info
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2022-03-12 17:11:05 +01:00
parent c66695d55e
commit f0fc1027e5
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 2 additions and 5 deletions

View File

@ -31,13 +31,10 @@ var appVolumeListCommand = cli.Command{
logrus.Fatal(err)
}
table := formatter.CreateTable([]string{"driver", "volume name"})
table := formatter.CreateTable([]string{"name", "created", "mounted"})
var volTable [][]string
for _, volume := range volumeList {
volRow := []string{
volume.Driver,
volume.Name,
}
volRow := []string{volume.Name, volume.CreatedAt, volume.Mountpoint}
volTable = append(volTable, volRow)
}