summaryrefslogtreecommitdiffstats
path: root/models/repo_mirror.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/repo_mirror.go
parentc46eb3f5b3db6bd9b4568c1ff3e8d70f733e66ee (diff)
downloadgitea-d5d21b67d24908dfddad95ac9a1e2f66395cad51.tar.gz
gitea-d5d21b67d24908dfddad95ac9a1e2f66395cad51.zip
Fix string format verbs (#3637)
Diffstat (limited to 'models/repo_mirror.go')
-rw-r--r--models/repo_mirror.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/repo_mirror.go b/models/repo_mirror.go
index 23cbedaa0c..b834a6e5cd 100644
--- a/models/repo_mirror.go
+++ b/models/repo_mirror.go
@@ -231,7 +231,7 @@ func SyncMirrors() {
m, err := GetMirrorByRepoID(com.StrTo(repoID).MustInt64())
if err != nil {
- log.Error(4, "GetMirrorByRepoID [%d]: %v", repoID, err)
+ log.Error(4, "GetMirrorByRepoID [%s]: %v", repoID, err)
continue
}
@@ -241,7 +241,7 @@ func SyncMirrors() {
m.ScheduleNextUpdate()
if err = UpdateMirror(m); err != nil {
- log.Error(4, "UpdateMirror [%d]: %v", repoID, err)
+ log.Error(4, "UpdateMirror [%s]: %v", repoID, err)
continue
}
}