fix: maintain sorted output

This commit is contained in:
2021-12-30 01:07:21 +01:00
parent 930ff68bb2
commit be26f80f03

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"}...)