Skip to content

Commit 233e02d

Browse files
committed
Merge branch 'lunny/migrate_more_storages' of github.com:lunny/gitea into lunny/migrate_more_storages
2 parents 8e1bcde + a8424ee commit 233e02d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/migrate_storage.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ import (
2727
var CmdMigrateStorage = cli.Command{
2828
Name: "migrate-storage",
2929
Usage: "Migrate the storage",
30-
Description: "This is a command for migrating Gitea configured storage to a parameter indicated storage.",
30+
Description: "Copies stored files from storage configured in app.ini to parameter-configured storage",
3131
Action: runMigrateStorage,
3232
Flags: []cli.Flag{
3333
cli.StringFlag{
3434
Name: "type, t",
3535
Value: "",
36-
Usage: "Kinds of files to migrate, could be one of 'attachments', 'lfs', 'avatars', 'repo-avatars', 'repo-archivers', 'packages'",
36+
Usage: "Type of stored files to copy. Allowed types: 'attachments', 'lfs', 'avatars', 'repo-avatars', 'repo-archivers', 'packages'",
3737
},
3838
cli.StringFlag{
3939
Name: "storage, s",
@@ -201,7 +201,7 @@ func runMigrateStorage(ctx *cli.Context) error {
201201
if err := m(stdCtx, dstStorage); err != nil {
202202
return err
203203
}
204-
log.Warn("All files have been copied to the new placement but old files are still on the original placement.")
204+
log.Info("%s files have successfully been copied to the new storage.", tp)
205205
return nil
206206
}
207207

0 commit comments

Comments
 (0)