aboutsummaryrefslogtreecommitdiffstats
path: root/modules/doctor/checkOldArchives.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/doctor/checkOldArchives.go')
-rw-r--r--modules/doctor/checkOldArchives.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/doctor/checkOldArchives.go b/modules/doctor/checkOldArchives.go
index 6353eaddd2..cefb3817bf 100644
--- a/modules/doctor/checkOldArchives.go
+++ b/modules/doctor/checkOldArchives.go
@@ -17,7 +17,7 @@ import (
func checkOldArchives(ctx context.Context, logger log.Logger, autofix bool) error {
numRepos := 0
numReposUpdated := 0
- err := iterateRepositories(func(repo *repo_model.Repository) error {
+ err := iterateRepositories(ctx, func(repo *repo_model.Repository) error {
if repo.IsEmpty {
return nil
}