summaryrefslogtreecommitdiffstats
path: root/models/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/pull.go')
-rw-r--r--models/pull.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/pull.go b/models/pull.go
index 27824c546a..388ee16b46 100644
--- a/models/pull.go
+++ b/models/pull.go
@@ -609,8 +609,8 @@ func (pr *PullRequest) testPatch(e Engine) (err error) {
return nil
}
- repoWorkingPool.CheckIn(com.ToStr(pr.BaseRepoID))
- defer repoWorkingPool.CheckOut(com.ToStr(pr.BaseRepoID))
+ RepoWorkingPool.CheckIn(com.ToStr(pr.BaseRepoID))
+ defer RepoWorkingPool.CheckOut(com.ToStr(pr.BaseRepoID))
log.Trace("PullRequest[%d].testPatch (patchPath): %s", pr.ID, patchPath)