stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject stratos git commit: Update the proxy port in config generation
Date Thu, 04 Jun 2015 12:45:12 GMT
Repository: stratos
Updated Branches:
  refs/heads/lvs_extension 999ffd7f4 -> 53b92db3f


Update the proxy port in config generation


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/53b92db3
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/53b92db3
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/53b92db3

Branch: refs/heads/lvs_extension
Commit: 53b92db3fdffacd1e37fb5dae099b3b45c36d86f
Parents: 999ffd7
Author: Gayan Gunarathne <gayang@wso2.com>
Authored: Thu Jun 4 18:14:42 2015 +0530
Committer: Gayan Gunarathne <gayang@wso2.com>
Committed: Thu Jun 4 18:14:42 2015 +0530

----------------------------------------------------------------------
 .../java/org/apache/stratos/lvs/extension/LVSConfigWriter.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/53b92db3/extensions/load-balancer/lvs-extension/src/main/java/org/apache/stratos/lvs/extension/LVSConfigWriter.java
----------------------------------------------------------------------
diff --git a/extensions/load-balancer/lvs-extension/src/main/java/org/apache/stratos/lvs/extension/LVSConfigWriter.java
b/extensions/load-balancer/lvs-extension/src/main/java/org/apache/stratos/lvs/extension/LVSConfigWriter.java
index 3a2f8cc..08edaf1 100644
--- a/extensions/load-balancer/lvs-extension/src/main/java/org/apache/stratos/lvs/extension/LVSConfigWriter.java
+++ b/extensions/load-balancer/lvs-extension/src/main/java/org/apache/stratos/lvs/extension/LVSConfigWriter.java
@@ -164,7 +164,7 @@ public class LVSConfigWriter {
 					if (virtualIpForService[0].equals(cluster.getServiceName())) {
 
 						text.append("virtual_server ").append(virtualIpForService[1]).append(" ")
-						    .append(port.getValue()).append(
+						    .append(port.getProxy()).append(
 								" {").append(
 								NEW_LINE);
 						text.append(TAB).append("delay_loop 10").append(NEW_LINE);


Mime
View raw message