diff --git a/src/main/java/com/basho/proserv/datamigrator/Main.java b/src/main/java/com/basho/proserv/datamigrator/Main.java index 375c69c..fbb725e 100644 --- a/src/main/java/com/basho/proserv/datamigrator/Main.java +++ b/src/main/java/com/basho/proserv/datamigrator/Main.java @@ -185,7 +185,7 @@ public static Configuration handleCommandLine(CommandLine cmd) { // Destination PB port if (cmd.hasOption("copypbport")) { try { - config.setPort(Integer.parseInt(cmd.getOptionValue("copypbport"))); + config.setDestinationPort(Integer.parseInt(cmd.getOptionValue("copypbport"))); } catch (NumberFormatException e) { System.out.println("Destination PB Port (copypbport) argument is not an integer."); System.exit(1);