summaryrefslogtreecommitdiffstats
path: root/models/migrations/v140.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v140.go')
-rw-r--r--models/migrations/v140.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v140.go b/models/migrations/v140.go
index 871d14b84e..b54740f1a9 100644
--- a/models/migrations/v140.go
+++ b/models/migrations/v140.go
@@ -34,7 +34,7 @@ func fixLanguageStatsToSaveSize(x *xorm.Engine) error {
}
if err := x.Sync2(new(LanguageStat)); err != nil {
- return fmt.Errorf("Sync2: %v", err)
+ return fmt.Errorf("Sync2: %w", err)
}
x.Delete(&RepoIndexerStatus{IndexerType: RepoIndexerTypeStats})