Updated Branches: refs/heads/master ff900c43c -> a9523bb69
Deployment policy partition algo name wrong caps Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/fe44f43b Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/fe44f43b Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/fe44f43b Branch: refs/heads/master Commit: fe44f43b35305afcd3f4463b1c5bed4eb2cf28af Parents: 97926da Author: Udara Liyanage <[email protected]> Authored: Fri Nov 22 09:15:57 2013 -0500 Committer: Udara Liyanage <[email protected]> Committed: Fri Nov 22 09:15:57 2013 -0500 ---------------------------------------------------------------------- .../autoscaler/policy/deployers/DeploymentPolicyReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/fe44f43b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/policy/deployers/DeploymentPolicyReader.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/policy/deployers/DeploymentPolicyReader.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/policy/deployers/DeploymentPolicyReader.java index fd0aceb..24e98fc 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/policy/deployers/DeploymentPolicyReader.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/policy/deployers/DeploymentPolicyReader.java @@ -60,7 +60,7 @@ public class DeploymentPolicyReader extends AbstractPolicyReader<DeploymentPoli if(nextGroup instanceof OMElement){ OMElement groupEle = (OMElement) nextGroup; PartitionGroup group = new PartitionGroup(); - group.setPartitionAlgo(readValue(groupEle, "PartitionAlgo")); + group.setPartitionAlgo(readValue(groupEle, "partitionAlgo")); //Partitions OMElement partitionsEle = groupEle.getFirstChildWithName(new QName("partitions")); Iterator<?> partitionItr = partitionsEle.getChildrenWithLocalName("partition");
