You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by re...@apache.org on 2015/06/30 08:42:56 UTC

stratos git commit: fixing application creation issue as part of minimum check

Repository: stratos
Updated Branches:
  refs/heads/master c8c60fbd0 -> 4fa2e5e31


fixing application creation issue as part of minimum check


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

Branch: refs/heads/master
Commit: 4fa2e5e31c147927e7d3265cb46e5040f8e3ce2b
Parents: c8c60fb
Author: reka <rt...@gmail.com>
Authored: Tue Jun 30 11:39:18 2015 +0530
Committer: reka <rt...@gmail.com>
Committed: Tue Jun 30 11:39:18 2015 +0530

----------------------------------------------------------------------
 .../stratos/autoscaler/monitor/component/ApplicationMonitor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/4fa2e5e3/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ApplicationMonitor.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ApplicationMonitor.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ApplicationMonitor.java
index fddc960..7ccfd22 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ApplicationMonitor.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ApplicationMonitor.java
@@ -325,7 +325,7 @@ public class ApplicationMonitor extends ParentComponentMonitor {
             }
         }
         //Starting the dependencies
-        if(instanceIds.isEmpty()) {
+        if(!instanceIds.isEmpty()) {
             startDependency(application, instanceIds);
         }