You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/06/03 11:13:51 UTC
stratos git commit: Fixing issue with ReadyToShutDown event
Repository: stratos
Updated Branches:
refs/heads/master 91335592e -> 2fe84b918
Fixing issue with ReadyToShutDown event
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/2fe84b91
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/2fe84b91
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/2fe84b91
Branch: refs/heads/master
Commit: 2fe84b91843b20e91e8cafd06011f42d218f231c
Parents: 9133559
Author: anuruddhal <an...@gmail.com>
Authored: Wed Jun 3 14:41:12 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Wed Jun 3 14:43:38 2015 +0530
----------------------------------------------------------------------
.../cartridge.agent/modules/event/instance/notifier/events.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/2fe84b91/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/instance/notifier/events.py
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/instance/notifier/events.py b/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/instance/notifier/events.py
index 800db98..41dc133 100644
--- a/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/instance/notifier/events.py
+++ b/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/event/instance/notifier/events.py
@@ -64,7 +64,7 @@ class InstanceCleanupClusterEvent:
def create_from_json(json_str):
json_obj = json.loads(json_str)
cluster_id = json_obj["clusterId"] if "clusterId" in json_obj else None
- instance_cluster_id = json_obj["instanceClusterId"] if "instanceClusterId" in json_obj else None
+ instance_cluster_id = json_obj["clusterInstanceId"] if "clusterInstanceId" in json_obj else None
return InstanceCleanupClusterEvent(cluster_id, instance_cluster_id)