Repository: stratos Updated Branches: refs/heads/tenant-isolation 601a02caa -> 08e31240d
Update the references with uuid Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/08e31240 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/08e31240 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/08e31240 Branch: refs/heads/tenant-isolation Commit: 08e31240d3c54f4ddb65dcd3da3d030febca9133 Parents: 601a02c Author: Gayan Gunarathne <[email protected]> Authored: Fri Jul 10 10:19:48 2015 +0530 Committer: Gayan Gunarathne <[email protected]> Committed: Fri Jul 10 10:19:48 2015 +0530 ---------------------------------------------------------------------- .../apache/stratos/autoscaler/context/cluster/ClusterContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/08e31240/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java index 820b4a8..1f8971b 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java @@ -185,7 +185,7 @@ public class ClusterContext extends AbstractClusterContext { PartitionRef[] partitions = null; if (networkPartitions != null && networkPartitions.length != 0) { for (NetworkPartitionRef networkPartitionRef : networkPartitions) { - if (networkPartitionRef.getId().equals( + if (networkPartitionRef.getUuid().equals( clusterLevelNetworkPartitionContext.getId())) { partitions = networkPartitionRef.getPartitionRefs(); }
