Skip to content

Commit

Permalink
Update mergebase in pr checker (#10586) (#10605)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep2k authored Mar 4, 2020
1 parent 9990430 commit c9e4d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/pull/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func checkAndUpdateStatus(pr *models.PullRequest) {

// Make sure there is no waiting test to process before leaving the checking status.
if !pullRequestQueue.Exist(pr.ID) {
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)
}
}
Expand Down

0 comments on commit c9e4d7a

Please sign in to comment.