summaryrefslogtreecommitdiffstats
path: root/models/repo_mirror.go
diff options
context:
space:
mode:
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
}
}