aboutsummaryrefslogtreecommitdiff
path: root/internal/db/mirror.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/mirror.go')
-rw-r--r--internal/db/mirror.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/mirror.go b/internal/db/mirror.go
index 7006a063..21d86f47 100644
--- a/internal/db/mirror.go
+++ b/internal/db/mirror.go
@@ -298,7 +298,7 @@ func MirrorUpdate() {
log.Trace("Doing: MirrorUpdate")
- if err := x.Where("next_update_unix<=?", time.Now().Unix()).Iterate(new(Mirror), func(idx int, bean interface{}) error {
+ if err := x.Where("next_update_unix<=?", time.Now().Unix()).Iterate(new(Mirror), func(idx int, bean any) error {
m := bean.(*Mirror)
if m.Repo == nil {
log.Error("Disconnected mirror repository found: %d", m.ID)