From f5aaf841ee054bc3d1cacacc9893fbb166797d68 Mon Sep 17 00:00:00 2001 From: Felipe Esteves Date: Thu, 8 Jun 2017 14:14:29 -0300 Subject: [PATCH] copypbport was setting source port and not destination port --- src/main/java/com/basho/proserv/datamigrator/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);