fix: add app name to list output

Part of coop-cloud/organising#252.
This commit is contained in:
decentral1se 2021-11-21 13:43:21 +01:00
parent ecd2a63f0a
commit 900f40f07a
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ can take some time.
}
statuses := make(map[string]map[string]string)
tableCol := []string{"Server", "Type", "Domain"}
tableCol := []string{"Server", "Type", "App Name", "Domain"}
if status {
tableCol = append(tableCol, "Status", "Version", "Updates")
statuses, err = config.GetAppStatuses(appFiles)
@ -113,7 +113,7 @@ can take some time.
appsCount++
// If type flag is set, check for it, if not, Type == ""
tableRow = []string{app.Server, app.Type, app.Domain}
tableRow = []string{app.Server, app.Type, app.StackName(), app.Domain}
if status {
stackName := app.StackName()
status := "unknown"