Change the name of the CSV file argument to avoid upstream naming collisions
This commit is contained in:
parent
bb4f4bc441
commit
e485c380e0
|
@ -60,8 +60,8 @@ public class MigrateProfilesCommand extends EnvironmentCommand<WhisperServerConf
|
|||
.setDefault(64)
|
||||
.help("The maximum number of concurrent DynamoDB requests");
|
||||
|
||||
subparser.addArgument("-f", "--file")
|
||||
.dest("file")
|
||||
subparser.addArgument("--csv-file")
|
||||
.dest("csvFile")
|
||||
.type(String.class)
|
||||
.required(false)
|
||||
.help("A CSV containing UUID/version pairs to migrate; if not specified, all profiles are migrated");
|
||||
|
@ -88,7 +88,7 @@ public class MigrateProfilesCommand extends EnvironmentCommand<WhisperServerConf
|
|||
ProfilesDynamoDb profilesDynamoDb = new ProfilesDynamoDb(dynamoDbClient, dynamoDbAsyncClient,
|
||||
configuration.getDynamoDbTables().getProfiles().getTableName());
|
||||
|
||||
final String csvFile = namespace.getString("file");
|
||||
final String csvFile = namespace.getString("csvFile");
|
||||
|
||||
if (StringUtils.isNotBlank(csvFile)) {
|
||||
migrateFromCsvFile(profiles, profilesDynamoDb, csvFile);
|
||||
|
|
Loading…
Reference in New Issue