forked from coop-cloud/abra
fix: show order as in other tables
This commit is contained in:
parent
c900cebc30
commit
4dec3c4646
|
@ -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}...)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue