summaryrefslogtreecommitdiffstats
path: root/models/migrations/v76.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v76.go')
-rw-r--r--models/migrations/v76.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v76.go b/models/migrations/v76.go
index a82ae40ba7..2686422723 100644
--- a/models/migrations/v76.go
+++ b/models/migrations/v76.go
@@ -43,7 +43,7 @@ func addPullRequestRebaseWithMerge(x *xorm.Engine) error {
// Updating existing issue units
units := make([]*RepoUnit, 0, 100)
if err := sess.Where("`type` = ?", v16UnitTypePRs).Find(&units); err != nil {
- return fmt.Errorf("Query repo units: %v", err)
+ return fmt.Errorf("Query repo units: %w", err)
}
for _, unit := range units {
if unit.Config == nil {