Repository: stratos Updated Branches: refs/heads/4.0.0-grouping 928969d43 -> 061cc496f
removnig the wrong id and used the correct id Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/061cc496 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/061cc496 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/061cc496 Branch: refs/heads/4.0.0-grouping Commit: 061cc496fc811d9bc0dbb3f4535496cfa366ec94 Parents: 928969d Author: reka <[email protected]> Authored: Fri Oct 24 14:33:46 2014 +0530 Committer: reka <[email protected]> Committed: Fri Oct 24 14:33:46 2014 +0530 ---------------------------------------------------------------------- .../apache/stratos/autoscaler/monitor/ParentComponentMonitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/061cc496/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/ParentComponentMonitor.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/ParentComponentMonitor.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/ParentComponentMonitor.java index 14ce281..26eff1d 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/ParentComponentMonitor.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/ParentComponentMonitor.java @@ -91,7 +91,7 @@ public abstract class ParentComponentMonitor extends Monitor { protected void onChildTerminatingEvent(String idOfEvent) { //Check whether hasDependent true if (!this.aliasToInActiveMonitorsMap.containsKey(idOfEvent)) { - this.aliasToInActiveMonitorsMap.put(id, this.aliasToActiveMonitorsMap.remove(idOfEvent)); + this.aliasToInActiveMonitorsMap.put(idOfEvent, this.aliasToActiveMonitorsMap.remove(idOfEvent)); } Monitor monitor = this.aliasToInActiveMonitorsMap.get(idOfEvent);
