Browse Source

Update mergebase in pr checker (#10586)

tags/v1.10.5
zeripath 4 years ago
parent
commit
4a2b76d9c8
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      services/pull/check.go

+ 1
- 1
services/pull/check.go View File

@@ -61,7 +61,7 @@ func checkAndUpdateStatus(pr *models.PullRequest) {
}

if !has {
if err := pr.UpdateCols("status, conflicted_files"); err != nil {
if err := pr.UpdateCols("merge_base", "status", "conflicted_files"); err != nil {
log.Error("Update[%d]: %v", pr.ID, err)
}
}

Loading…
Cancel
Save