fix: dont list if no volumes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-01-02 15:20:17 +01:00
parent c69a3c23c5
commit 33ff04c686

View File

@ -34,7 +34,12 @@ var appVolumeListCommand = &cli.Command{
}
table.AppendBulk(volTable)
table.Render()
if table.NumLines() > 0 {
table.Render()
} else {
logrus.Warnf("no volumes created for %s", app.Name)
}
return nil
},