forked from gitea/gitea
fix: typo (#27009)
This commit is contained in:
parent
998cea5888
commit
598465eb43
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue