浏览代码

fix log output (#5938)

tags/v1.9.0-dev
Sergey Romanov 5 年前
父节点
当前提交
67567eff0e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      models/branches.go

+ 1
- 1
models/branches.go 查看文件

@@ -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
}


正在加载...
取消
保存