You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2013/12/17 14:02:49 UTC

git commit: Fixing autoscaler policy to cluster monitor correctly

Updated Branches:
  refs/heads/master 9ce111ca9 -> 819373a9f


Fixing autoscaler policy to cluster monitor correctly


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

Branch: refs/heads/master
Commit: 819373a9fd2ddbab7a25c60c06375a4196d0e6ee
Parents: 9ce111c
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Tue Dec 17 18:37:30 2013 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Tue Dec 17 18:37:30 2013 +0530

----------------------------------------------------------------------
 .../main/java/org/apache/stratos/autoscaler/ClusterMonitor.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/819373a9/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/ClusterMonitor.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/ClusterMonitor.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/ClusterMonitor.java
index 68377a1..1d65c53 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/ClusterMonitor.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/ClusterMonitor.java
@@ -73,7 +73,7 @@ public class ClusterMonitor implements Runnable{
         this.minCheckKnowledgeSession = autoscalerRuleEvaluator.getMinCheckStatefulSession();
 
         this.deploymentPolicy = deploymentPolicy;
-        this.deploymentPolicy = deploymentPolicy;
+        this.autoscalePolicy = autoscalePolicy;
         networkPartitionCtxts = new ConcurrentHashMap<String, NetworkPartitionContext>();
     }