mirror of
https://github.com/minio/mc.git
synced 2026-01-04 02:44:40 +03:00
support in-place rewrite of objects in heal and convert the format (#4175)
This commit is contained in:
@@ -69,6 +69,10 @@ var adminHealFlags = []cli.Flag{
|
||||
Name: "storage-class",
|
||||
Usage: "show server/disks failure tolerance with the given storage class",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "rewrite",
|
||||
Usage: "rewrite objects from older to newer format",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "verbose, v",
|
||||
Usage: "show verbose information",
|
||||
@@ -631,6 +635,7 @@ func mainAdminHeal(ctx *cli.Context) error {
|
||||
Remove: ctx.Bool("remove"),
|
||||
Recursive: ctx.Bool("recursive"),
|
||||
DryRun: ctx.Bool("dry-run"),
|
||||
Recreate: ctx.Bool("rewrite"),
|
||||
}
|
||||
|
||||
forceStart := ctx.Bool("force-start")
|
||||
|
||||
Reference in New Issue
Block a user