fix: dont list if no volumes
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2022-01-02 15:20:17 +01:00
parent c69a3c23c5
commit 33ff04c686
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 6 additions and 1 deletions

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
},