fix: don't create clients twice per server
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			Closes coop-cloud/organising#407
This commit is contained in:
		| @ -369,13 +369,6 @@ func GetAppStatuses(apps []App, MachineReadable bool) (map[string]map[string]str | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	for server := range servers { | ||||
| 		// validate that all server connections work | ||||
| 		if _, err := client.New(server); err != nil { | ||||
| 			return statuses, err | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	var bar *progressbar.ProgressBar | ||||
| 	if !MachineReadable { | ||||
| 		bar = formatter.CreateProgressbar(len(servers), "querying remote servers...") | ||||
|  | ||||
		Reference in New Issue
	
	Block a user