add missing return in the api server
This commit is contained in:
		
							parent
							
								
									90b49a24ba
								
							
						
					
					
						commit
						83f1dbe80c
					
				|  | @ -148,6 +148,7 @@ func (s *Server) clusters(w http.ResponseWriter, req *http.Request) { | |||
| 		clusters, found := teamClusters[matches["team"]] | ||||
| 		if !found { | ||||
| 			s.respond(nil, fmt.Errorf("could not find clusters for the team"), w) | ||||
| 			return | ||||
| 		} | ||||
| 
 | ||||
| 		clusterNames := make([]string, 0) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue