You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2014/11/20 10:15:55 UTC

stratos git commit: fixing a unwanted if check

Repository: stratos
Updated Branches:
  refs/heads/master 62e6997b1 -> 8c6cb2b7b


fixing a unwanted if check


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

Branch: refs/heads/master
Commit: 8c6cb2b7bb337cf3da39736fd8614e05c4bb9470
Parents: 62e6997
Author: Isuru Haththotuwa <is...@apache.org>
Authored: Thu Nov 20 14:45:40 2014 +0530
Committer: Isuru Haththotuwa <is...@apache.org>
Committed: Thu Nov 20 14:45:40 2014 +0530

----------------------------------------------------------------------
 .../manager/grouping/deployer/DefaultServiceGroupDeployer.java      | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/8c6cb2b7/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 3b4d936..6546df0 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
@@ -262,7 +262,6 @@ public class DefaultServiceGroupDeployer implements ServiceGroupDeployer {
         ServiceGroup servicegroup = new ServiceGroup();
 
         // implement conversion (mostly List -> Array)
-        if (serviceGroupDefinition.isGroupScalingEnabled())
         servicegroup.setGroupscalingEnabled(serviceGroupDefinition.isGroupScalingEnabled());
         List<String> subGroupsDef = serviceGroupDefinition.getSubGroups();
         List<String> cartridgesDef = serviceGroupDefinition.getCartridges();