diff --git a/scripts/migration/dataset_paths_ecs_rollback.py b/scripts/migration/dataset_paths_ecs_rollback.py index 01ce2e418..1dc6b654c 100644 --- a/scripts/migration/dataset_paths_ecs_rollback.py +++ b/scripts/migration/dataset_paths_ecs_rollback.py @@ -244,8 +244,8 @@ def run(parsed_args: argparse.Namespace): dryrun = args.dryrun # if set, only path change rollback description will be printed, no actual patching will run skip_prefixes = args.skipprefixes - fields_to_map = args.fieldstomap # argparse allow only one of HDFS_MAPPING_FIELD_HDFS_* - rollback_settings = RollbackSettings(skip_prefixes, fields_to_map) + fields_to_map = args.fieldstomap # argparse allow only one of HDFS_MAPPING_FIELD_HDFS_* + rollback_settings = RollbackSettings(skip_prefixes, fields_to_map) print('Menas mongo ECS paths mapping ROLLBACK') print('Running with settings: dryrun={}, verbose={}'.format(dryrun, verbose))