Repository: stratos Updated Branches: refs/heads/tenant-isolation 44fa444df -> 601a02caa
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/601a02ca Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/601a02ca Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/601a02ca Branch: refs/heads/tenant-isolation Commit: 601a02caa6e1f910953cca87813b9c92bc2fa189 Parents: 44fa444 Author: Gayan Gunarathne <[email protected]> Authored: Fri Jul 10 09:54:55 2015 +0530 Committer: Gayan Gunarathne <[email protected]> Committed: Fri Jul 10 09:54:55 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/601a02ca/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 79dcfa0..820b4a8 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 @@ -129,7 +129,7 @@ public class ClusterContext extends AbstractClusterContext { NetworkPartitionRef networkPartition = null; if (networkPartitions != null && networkPartitions.length != 0) { for (NetworkPartitionRef i : networkPartitions) { - if (i.getUuid().equals(clusterInstance.getNetworkPartitionId())) { + if (i.getId().equals(clusterInstance.getNetworkPartitionId())) { networkPartition = i; } }
