refactor: support listing unknown versions

This commit is contained in:
2021-08-25 14:06:42 +02:00
parent c5bb680fed
commit b34acefa21
2 changed files with 35 additions and 13 deletions

View File

@ -209,9 +209,7 @@ func GetAppStatuses(appFiles AppFiles) (map[string]string, error) {
servers := appFiles.GetServers()
ch := make(chan stack.StackStatus, len(servers))
for _, server := range servers {
go func(s string) {
ch <- stack.GetAllDeployedServices(s)
}(server)
go func(s string) { ch <- stack.GetAllDeployedServices(s) }(server)
}
statuses := map[string]string{}