Skip to content

Commit

Permalink
install: honor legacy and dry-run in migration (#758)
Browse files Browse the repository at this point in the history
Signed-off-by: Bala.FA <bala@minio.io>
  • Loading branch information
balamurugana committed Apr 21, 2023
1 parent 366f244 commit a2346cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/installer/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func migrateVolumes(ctx context.Context, driveMap map[string]string, dryRun bool

// Migrate migrates legacy drives and volumes.
func Migrate(ctx context.Context, args *Args) (err error) {
if !args.Legacy {
if args.dryRun() || !args.Legacy {
return nil
}

Expand Down

0 comments on commit a2346cc

Please sign in to comment.