summaryrefslogtreecommitdiffstats
path: root/models/webhook.go
diff options
context:
space:
mode:
authorAlexander Lunegov <alunegov@gmail.com>2016-12-21 12:09:43 +0500
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-12-22 08:18:41 +0100
commitd5d21b67d24908dfddad95ac9a1e2f66395cad51 (patch)
treef3cd83fbf11ff8006bc9ce639d719591b0df08d6 /models/webhook.go
parentc46eb3f5b3db6bd9b4568c1ff3e8d70f733e66ee (diff)
downloadgitea-d5d21b67d24908dfddad95ac9a1e2f66395cad51.tar.gz
gitea-d5d21b67d24908dfddad95ac9a1e2f66395cad51.zip
Fix string format verbs (#3637)
Diffstat (limited to 'models/webhook.go')
-rw-r--r--models/webhook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/webhook.go b/models/webhook.go
index 6413d6edb8..2da88de2a4 100644
--- a/models/webhook.go
+++ b/models/webhook.go
@@ -634,7 +634,7 @@ func DeliverHooks() {
tasks = make([]*HookTask, 0, 5)
if err := x.Where("repo_id=? AND is_delivered=?", repoID, false).Find(&tasks); err != nil {
- log.Error(4, "Get repository [%d] hook tasks: %v", repoID, err)
+ log.Error(4, "Get repository [%s] hook tasks: %v", repoID, err)
continue
}
for _, t := range tasks {