fixing serviceId getting NULL issue in cluster monitor

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

Branch: refs/heads/master
Commit: 836d0c7616c0c5f6d21b21b6094d61bfd1d63244
Parents: b20aaf8
Author: reka <[email protected]>
Authored: Sun Nov 9 15:01:58 2014 +0530
Committer: reka <[email protected]>
Committed: Sun Nov 9 15:02:50 2014 +0530

----------------------------------------------------------------------
 .../java/org/apache/stratos/autoscaler/AbstractClusterContext.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/836d0c76/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/AbstractClusterContext.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/AbstractClusterContext.java
 
b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/AbstractClusterContext.java
index abd3f1e..6faa4f9 100644
--- 
a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/AbstractClusterContext.java
+++ 
b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/AbstractClusterContext.java
@@ -48,6 +48,7 @@ public class AbstractClusterContext implements Serializable {
 
     public AbstractClusterContext(String clusterId, String serviceId){
         this.clusterId = clusterId;
+        this.serviceId = serviceId;
     }
 
     public String getServiceId() {

Reply via email to