fix: maintain sorted output
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-12-30 01:07:21 +01:00
parent 930ff68bb2
commit be26f80f03
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 4 additions and 1 deletions

View File

@ -200,7 +200,10 @@ can take some time.
allStats[app.Server] = stats
}
for serverName, serverStat := range allStats {
for _, app := range apps {
serverName := app.Server
serverStat := allStats[serverName]
tableCol := []string{"recipe", "app name", "domain"}
if status {
tableCol = append(tableCol, []string{"status", "version", "upgrade"}...)