aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v177.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v177.go')
-rw-r--r--models/migrations/v177.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v177.go b/models/migrations/v177.go
index c65fd3de00..f28826f170 100644
--- a/models/migrations/v177.go
+++ b/models/migrations/v177.go
@@ -25,7 +25,7 @@ func deleteOrphanedIssueLabels(x *xorm.Engine) error {
}
if err := sess.Sync2(new(IssueLabel)); err != nil {
- return fmt.Errorf("Sync2: %v", err)
+ return fmt.Errorf("Sync2: %w", err)
}
if _, err := sess.Exec(`DELETE FROM issue_label WHERE issue_label.id IN (