fix: show order as in other tables
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c900cebc30
commit
4dec3c4646
|
@ -215,7 +215,7 @@ can take some time.
|
||||||
|
|
||||||
serverStat := allStats[app.Server]
|
serverStat := allStats[app.Server]
|
||||||
|
|
||||||
tableCol := []string{"recipe", "app name", "domain"}
|
tableCol := []string{"recipe", "domain", "app name"}
|
||||||
if status {
|
if status {
|
||||||
tableCol = append(tableCol, []string{"status", "version", "upgrade"}...)
|
tableCol = append(tableCol, []string{"status", "version", "upgrade"}...)
|
||||||
}
|
}
|
||||||
|
@ -223,7 +223,7 @@ can take some time.
|
||||||
table := formatter.CreateTable(tableCol)
|
table := formatter.CreateTable(tableCol)
|
||||||
|
|
||||||
for _, appStat := range serverStat.apps {
|
for _, appStat := range serverStat.apps {
|
||||||
tableRow := []string{appStat.recipe, appStat.appName, appStat.domain}
|
tableRow := []string{appStat.recipe, appStat.domain, appStat.appName}
|
||||||
if status {
|
if status {
|
||||||
tableRow = append(tableRow, []string{appStat.status, appStat.version, appStat.upgrade}...)
|
tableRow = append(tableRow, []string{appStat.status, appStat.version, appStat.upgrade}...)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue