aboutsummaryrefslogtreecommitdiff
path: root/models/pull.go
diff options
context:
space:
mode:
authorAlexander Lunegov <alunegov@gmail.com>2016-12-21 12:09:43 +0500
committer无闻 <u@gogs.io>2016-12-21 02:09:43 -0500
commit7358e46815d6c622377b957329269e4a967913f3 (patch)
tree7ff1be9c562724ca2b2ad5389bbccdc6c3193acf /models/pull.go
parent8f09fc64bd0364953f233244539b78ba340a39be (diff)
Fix string format verbs (#3637)
Diffstat (limited to 'models/pull.go')
-rw-r--r--models/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/pull.go b/models/pull.go
index 100d4db4..fd3923ce 100644
--- a/models/pull.go
+++ b/models/pull.go
@@ -782,7 +782,7 @@ func TestPullRequests() {
pr, err := GetPullRequestByID(com.StrTo(prID).MustInt64())
if err != nil {
- log.Error(4, "GetPullRequestByID[%d]: %v", prID, err)
+ log.Error(4, "GetPullRequestByID[%s]: %v", prID, err)
continue
} else if err = pr.testPatch(); err != nil {
log.Error(4, "testPatch[%d]: %v", pr.ID, err)