Bläddra i källkod

fix log output (#5938)

tags/v1.9.0-dev
Sergey Romanov 5 år sedan
förälder
incheckning
67567eff0e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      models/branches.go

+ 1
- 1
models/branches.go Visa fil

@@ -101,7 +101,7 @@ func (protectBranch *ProtectedBranch) HasEnoughApprovals(pr *PullRequest) bool {
func (protectBranch *ProtectedBranch) GetGrantedApprovalsCount(pr *PullRequest) int64 {
reviews, err := GetReviewersByPullID(pr.Issue.ID)
if err != nil {
log.Error(1, "GetUniqueApprovalsByPullRequestID:", err)
log.Error(1, "GetReviewersByPullID:", err)
return 0
}


Laddar…
Avbryt
Spara