From 67567eff0e5614553cbd396ae7e1adfde6fa33c0 Mon Sep 17 00:00:00 2001 From: Sergey Romanov Date: Sun, 3 Feb 2019 02:56:15 +0500 Subject: [PATCH] fix log output (#5938) --- models/branches.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/branches.go b/models/branches.go index a1e97ffaaa3..08ab2c5b03d 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 }