1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-15 07:45:49 +00:00
This commit is contained in:
MomentQYC 2023-09-11 17:30:18 +08:00 committed by GitHub
parent 998cea5888
commit 598465eb43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,7 +185,7 @@ func runMigrateStorage(ctx *cli.Context) error {
case string(setting.LocalStorageType): case string(setting.LocalStorageType):
p := ctx.String("path") p := ctx.String("path")
if p == "" { if p == "" {
log.Fatal("Path must be given when storage is loal") log.Fatal("Path must be given when storage is local")
return nil return nil
} }
dstStorage, err = storage.NewLocalStorage( dstStorage, err = storage.NewLocalStorage(