aboutsummaryrefslogtreecommitdiffstats
path: root/services/mirror
diff options
context:
space:
mode:
Diffstat (limited to 'services/mirror')
-rw-r--r--services/mirror/mirror_pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/mirror/mirror_pull.go b/services/mirror/mirror_pull.go
index 321bd38fc3..d2b7d37eaa 100644
--- a/services/mirror/mirror_pull.go
+++ b/services/mirror/mirror_pull.go
@@ -540,7 +540,7 @@ func SyncPullMirror(ctx context.Context, repoID int64) bool {
return false
}
- if err = repo_model.UpdateRepositoryUpdatedTime(m.RepoID, commitDate); err != nil {
+ if err = repo_model.UpdateRepositoryUpdatedTime(ctx, m.RepoID, commitDate); err != nil {
log.Error("SyncMirrors [repo: %-v]: unable to update repository 'updated_unix': %v", m.Repo, err)
return false
}