storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kabh...@apache.org
Subject [09/10] storm git commit: STORM-860 "Activate" only makes sense while inactivated
Date Tue, 04 Aug 2015 06:21:28 GMT
STORM-860 "Activate" only makes sense while inactivated


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

Branch: refs/heads/0.10.x-branch
Commit: edd69d65d1f3c444e6e90f1f7effd65cb785250b
Parents: c5203ec
Author: Jungtaek Lim <kabhwan@gmail.com>
Authored: Thu Jun 11 06:04:34 2015 +0900
Committer: Jungtaek Lim <kabhwan@gmail.com>
Committed: Tue Aug 4 13:08:12 2015 +0900

----------------------------------------------------------------------
 storm-core/src/ui/public/js/script.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/edd69d65/storm-core/src/ui/public/js/script.js
----------------------------------------------------------------------
diff --git a/storm-core/src/ui/public/js/script.js b/storm-core/src/ui/public/js/script.js
index 56e5cc4..abd66c1 100644
--- a/storm-core/src/ui/public/js/script.js
+++ b/storm-core/src/ui/public/js/script.js
@@ -152,7 +152,7 @@ function topologyActionJson(id, encodedId, name,status,msgTimeout) {
     jsonData["encodedId"] = encodedId;
     jsonData["name"] = name;
     jsonData["msgTimeout"] = msgTimeout;
-    jsonData["activateStatus"] = (status === "ACTIVE") ? "disabled" : "enabled";
+    jsonData["activateStatus"] = (status === "INACTIVE") ? "enabled" : "disabled";
     jsonData["deactivateStatus"] = (status === "ACTIVE") ? "enabled" : "disabled";
     jsonData["rebalanceStatus"] = (status === "ACTIVE" || status === "INACTIVE" ) ? "enabled"
: "disabled";
     jsonData["killStatus"] = (status !== "KILLED") ? "enabled" : "disabled";


Mime
View raw message