summaryrefslogtreecommitdiffstats
path: root/services/migrations/dump.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/migrations/dump.go')
-rw-r--r--services/migrations/dump.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/migrations/dump.go b/services/migrations/dump.go
index 21d03b333f..a9ec459519 100644
--- a/services/migrations/dump.go
+++ b/services/migrations/dump.go
@@ -590,7 +590,7 @@ func updateOptionsUnits(opts *base.MigrateOptions, units []string) error {
opts.ReleaseAssets = true
} else {
for _, unit := range units {
- switch strings.ToLower(unit) {
+ switch strings.ToLower(strings.TrimSpace(unit)) {
case "":
continue
case "wiki":