forked from toolshed/abra
		
	fix: show order as in other tables
This commit is contained in:
		| @ -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}...) | ||||||
| 				} | 				} | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user