summaryrefslogtreecommitdiffstats
path: root/models/migrations/v206.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v206.go')
-rw-r--r--models/migrations/v206.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v206.go b/models/migrations/v206.go
index c6a5dc811c..525a475722 100644
--- a/models/migrations/v206.go
+++ b/models/migrations/v206.go
@@ -20,7 +20,7 @@ func addAuthorizeColForTeamUnit(x *xorm.Engine) error {
}
if err := x.Sync2(new(TeamUnit)); err != nil {
- return fmt.Errorf("sync2: %v", err)
+ return fmt.Errorf("sync2: %w", err)
}
// migrate old permission