diff options
author | Sergey Romanov <xxsmotur@gmail.com> | 2019-02-03 02:56:15 +0500 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-02-02 21:56:15 +0000 |
commit | 67567eff0e5614553cbd396ae7e1adfde6fa33c0 (patch) | |
tree | a7544af7855b826cd8c751c247307fafc803adee /models/branches.go | |
parent | 12ee544411e2c3de410459494ab40536b45941bc (diff) | |
download | gitea-67567eff0e5614553cbd396ae7e1adfde6fa33c0.tar.gz gitea-67567eff0e5614553cbd396ae7e1adfde6fa33c0.zip |
fix log output (#5938)
Diffstat (limited to 'models/branches.go')
-rw-r--r-- | models/branches.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/branches.go b/models/branches.go index a1e97ffaaa..08ab2c5b03 100644 --- a/models/branches.go +++ b/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 } |