prow/gerrit/client/client.go
func (h *gerritInstanceHandler) queryAllChanges(lastUpdate time.Time, rateLimit int) []gerrit.ChangeInfo {
	result := []gerrit.ChangeInfo{}
	for _, project := range h.projects {
		changes, err := h.queryChangesForProject(project, lastUpdate, rateLimit)
		if err != nil {
			// don't halt on error from one project, log & continue
			logrus.WithError(err).Errorf("fail to query changes for project %s", project)
			continue
		}
		result = append(result, changes...)
	}

	return result
}
func (h *gerritInstanceHandler) queryAllChanges(lastUpdate time.Time, rateLimit int) []gerrit.ChangeInfo {
	result := []gerrit.ChangeInfo{}
	for _, project := range h.projects {
		changes, err := h.queryChangesForProject(project, lastUpdate, rateLimit)
		if err != nil {
			// don't halt on error from one project, log & continue
			logrus.WithError(err).Errorf("fail to query changes for project %s", project)
			continue
		}
		result = append(result, changes...)
	}

	return result
}
func ( h * gerritInstanceHandler ) queryAllChanges ( lastUpdate time . Time , rateLimit int ) [ ] gerrit . ChangeInfo { result := [ ] gerrit . ChangeInfo { } for _ , project := range h . projects { changes , err := h . queryChangesForProject ( project , lastUpdate , rateLimit ) if err != nil { // don't halt on error from one project, log & continue logrus . WithError ( err ) . Errorf ( " " , project ) continue } result = append ( result , changes ... ) } return result }
// private handler implementation details
private handler implementation details