fix: show order as in other tables
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2022-01-02 16:25:18 +01:00
parent c900cebc30
commit 4dec3c4646
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ can take some time.
serverStat := allStats[app.Server]
tableCol := []string{"recipe", "app name", "domain"}
tableCol := []string{"recipe", "domain", "app name"}
if status {
tableCol = append(tableCol, []string{"status", "version", "upgrade"}...)
}
@ -223,7 +223,7 @@ can take some time.
table := formatter.CreateTable(tableCol)
for _, appStat := range serverStat.apps {
tableRow := []string{appStat.recipe, appStat.appName, appStat.domain}
tableRow := []string{appStat.recipe, appStat.domain, appStat.appName}
if status {
tableRow = append(tableRow, []string{appStat.status, appStat.version, appStat.upgrade}...)
}