diff options
Diffstat (limited to 'services/repository/hooks.go')
-rw-r--r-- | services/repository/hooks.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/repository/hooks.go b/services/repository/hooks.go index 3905249499..40303d5937 100644 --- a/services/repository/hooks.go +++ b/services/repository/hooks.go @@ -23,7 +23,7 @@ func SyncRepositoryHooks(ctx context.Context) error { log.Trace("Doing: SyncRepositoryHooks") if err := db.Iterate( - db.DefaultContext, + ctx, new(repo_model.Repository), builder.Gt{"id": 0}, func(idx int, bean interface{}) error { |