Skip to content

Commit

Permalink
Refs 3081: ignore failed intro count for public repos (#482)
Browse files Browse the repository at this point in the history
Refs 3081: ignore failed intro count for public

repos
  • Loading branch information
jlsherrill authored Nov 21, 2023
1 parent 22a70f4 commit 49bfc38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/external_repos/introspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func reposForIntrospection(urls *[]string, force bool) ([]dao.Repository, []erro
repo, err := repoDao.FetchForUrl((*urls)[i])
if err != nil {
errors = append(errors, err)
} else if ignoredFailed && repo.FailedIntrospectionsCount > config.FailedIntrospectionsLimit {
} else if ignoredFailed && repo.FailedIntrospectionsCount > config.FailedIntrospectionsLimit && !repo.Public {
continue
} else {
repos = append(repos, repo)
Expand Down

0 comments on commit 49bfc38

Please sign in to comment.