fixing a build break in AutoscalerTopologyEventReceiver
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/ae4f94ef Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/ae4f94ef Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/ae4f94ef Branch: refs/heads/4.0.0-grouping Commit: ae4f94efb27a17ffa196128730772fc6febdbf82 Parents: cd66b40 Author: Isuru Haththotuwa <[email protected]> Authored: Sun Oct 19 10:03:19 2014 +0530 Committer: Isuru Haththotuwa <[email protected]> Committed: Sun Oct 19 10:03:19 2014 +0530 ---------------------------------------------------------------------- .../message/receiver/topology/AutoscalerTopologyEventReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/ae4f94ef/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/message/receiver/topology/AutoscalerTopologyEventReceiver.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/message/receiver/topology/AutoscalerTopologyEventReceiver.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/message/receiver/topology/AutoscalerTopologyEventReceiver.java index b342a81..ed250b5 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/message/receiver/topology/AutoscalerTopologyEventReceiver.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/message/receiver/topology/AutoscalerTopologyEventReceiver.java @@ -306,7 +306,7 @@ public class AutoscalerTopologyEventReceiver implements Runnable { AbstractClusterMonitor monitor; if (AutoscalerContext.getInstance().monitorExist((cluster.getClusterId()))) { monitor = (AbstractClusterMonitor) AutoscalerContext.getInstance().getMonitor(clusterMaitenanceEvent.getClusterId()); - monitor.setStatus(Status.In_Maintenance); + monitor.setStatus(Status.In_Active); } else if (AutoscalerContext.getInstance(). lbMonitorExist((cluster.getClusterId()))) { AutoscalerContext.getInstance().getLBMonitor(clusterMaitenanceEvent.getClusterId()).
