aboutsummaryrefslogtreecommitdiff
path: root/internal/db/mirror.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/mirror.go')
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/mirror.go b/internal/db/mirror.go
index 4ee3ce8e..4313d736 100644
--- a/internal/db/mirror.go
+++ b/internal/db/mirror.go
@@ -66,7 +66,7 @@ func (m *Mirror) AfterSet(colName string, _ xorm.Cell) {
}
}
-// ScheduleNextSync calculates and sets next sync time based on repostiroy mirror setting.
+// ScheduleNextSync calculates and sets next sync time based on repository mirror setting.
func (m *Mirror) ScheduleNextSync() {
m.NextSync = time.Now().Add(time.Duration(m.Interval) * time.Hour)
}