mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 07:51:18 +02:00
add missing return in the api server
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user