You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ni...@apache.org on 2014/12/04 06:20:38 UTC

stratos git commit: Fixing a drools issue by passing correct variable.

Repository: stratos
Updated Branches:
  refs/heads/master 0e660cf4b -> 33f557673


Fixing a drools issue by passing correct variable.


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

Branch: refs/heads/master
Commit: 33f5576737e4a3455edfe3cdc3be7a5ffafb834e
Parents: 0e660cf
Author: Nirmal Fernando <ni...@gmail.com>
Authored: Thu Dec 4 10:51:41 2014 +0530
Committer: Nirmal Fernando <ni...@gmail.com>
Committed: Thu Dec 4 10:51:50 2014 +0530

----------------------------------------------------------------------
 .../apache/stratos/autoscaler/rule/AutoscalerRuleEvaluator.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/33f55767/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/rule/AutoscalerRuleEvaluator.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/rule/AutoscalerRuleEvaluator.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/rule/AutoscalerRuleEvaluator.java
index 57fd4a0..0ae026b 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/rule/AutoscalerRuleEvaluator.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/rule/AutoscalerRuleEvaluator.java
@@ -107,7 +107,7 @@ public class AutoscalerRuleEvaluator {
 
 
         if (handle == null) {
-            ksession.setGlobal("delegator", new RuleTasksDelegator());
+            ksession.setGlobal("$delegator", new RuleTasksDelegator());
             handle = ksession.insert(obj);
         } else {
             ksession.update(handle, obj);