]> source.dussan.org Git - gitea.git/commit
Continue GCing other repos on error in one repo (#22422)
authorzeripath <art27@cantab.net>
Fri, 13 Jan 2023 01:48:48 +0000 (01:48 +0000)
committerGitHub <noreply@github.com>
Fri, 13 Jan 2023 01:48:48 +0000 (09:48 +0800)
commit99cf0d394ea1f949b72aef2c25e74e67a4ca1791
tree4c13d326d1f2b250cd45637fff1b714d0fecab47
parentf1c13b4aceee82ea7da6a4ea4a512f0adc76906c
Continue GCing other repos on error in one repo (#22422)

The current code propagates all errors up to the iteration step meaning
that a single malformed repo will prevent GC of other repos.

This PR simply stops that propagation.

Fix #21605

Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
services/repository/check.go