summaryrefslogtreecommitdiffstats
path: root/models/migrations/v161.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v161.go')
-rw-r--r--models/migrations/v161.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v161.go b/models/migrations/v161.go
index 3eff7df8a3..4ca9f01218 100644
--- a/models/migrations/v161.go
+++ b/models/migrations/v161.go
@@ -21,7 +21,7 @@ func convertTaskTypeToString(x *xorm.Engine) error {
MATRIX
)
- var hookTaskTypes = map[int]string{
+ hookTaskTypes := map[int]string{
GITEA: "gitea",
GOGS: "gogs",
SLACK: "slack",