From 675764bbd2e28870f5ebda8c009f118e2c1a6e51 Mon Sep 17 00:00:00 2001 From: Sagar Muchhal Date: Fri, 1 May 2015 05:34:21 -0400 Subject: [PATCH] CHanged Load bal IP from statis to prop file --- src/edu/tomr/test/Admin.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/edu/tomr/test/Admin.java b/src/edu/tomr/test/Admin.java index b4c82cf..7dd660d 100644 --- a/src/edu/tomr/test/Admin.java +++ b/src/edu/tomr/test/Admin.java @@ -6,12 +6,13 @@ import network.exception.NetworkException; import network.requests.NWRequest; import edu.tomr.protocol.UpdateConnMessage; +import edu.tomr.utils.ConfigParams; public class Admin { public static void main(String[] args) { - Connection conn=new Connection("10.139.61.182", NetworkConstants.LB_ADD_LISTEN_PORT); + Connection conn=new Connection(ConfigParams.getProperty("LB_IP"), NetworkConstants.LB_ADD_LISTEN_PORT); NetworkUtilities utils = null; try {