You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by re...@apache.org on 2014/12/12 19:06:47 UTC
[2/2] stratos git commit: fixing nested service group parsing issue
fixing nested service group parsing issue
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/3fb60414
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/3fb60414
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/3fb60414
Branch: refs/heads/4.1.0-test
Commit: 3fb604141ea85a78acee67d95792bca73e5dcb36
Parents: 68b6c47
Author: reka <rt...@gmail.com>
Authored: Fri Dec 12 23:31:11 2014 +0530
Committer: reka <rt...@gmail.com>
Committed: Fri Dec 12 23:36:21 2014 +0530
----------------------------------------------------------------------
.../manager/grouping/deployer/DefaultServiceGroupDeployer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/3fb60414/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/grouping/deployer/DefaultServiceGroupDeployer.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/grouping/deployer/DefaultServiceGroupDeployer.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/grouping/deployer/DefaultServiceGroupDeployer.java
index d075775..76e1596 100644
--- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/grouping/deployer/DefaultServiceGroupDeployer.java
+++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/grouping/deployer/DefaultServiceGroupDeployer.java
@@ -289,8 +289,8 @@ public class DefaultServiceGroupDeployer implements ServiceGroupDeployer {
ServiceGroup[] subGroups = new ServiceGroup[groupsDef.size()];
String[] cartridges = new String[cartridgesDef.size()];
+ int i = 0;
for (ServiceGroupDefinition groupDefinition : groupsDef) {
- int i = 0;
subGroups[i] = populateServiceGroupPojo(groupDefinition);
++i;
}