summaryrefslogtreecommitdiffstats
path: root/models/migrations/v170.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v170.go')
-rw-r--r--models/migrations/v170.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v170.go b/models/migrations/v170.go
index 853a23d290..2d654fb2b1 100644
--- a/models/migrations/v170.go
+++ b/models/migrations/v170.go
@@ -16,7 +16,7 @@ func addDismissedReviewColumn(x *xorm.Engine) error {
}
if err := x.Sync2(new(Review)); err != nil {
- return fmt.Errorf("Sync2: %v", err)
+ return fmt.Errorf("Sync2: %w", err)
}
return nil
}