ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [1/2] incubator-ignite git commit: IGNITE-843 Minor changes.
Date Wed, 05 Aug 2015 05:39:06 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 72598ab5e -> 6e44fdc9d


IGNITE-843 Minor changes.


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

Branch: refs/heads/ignite-843
Commit: c27c911134ed92126e3e2a976278a5b942fbb8d1
Parents: 2c7367d
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Wed Aug 5 12:38:51 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Wed Aug 5 12:38:51 2015 +0700

----------------------------------------------------------------------
 modules/control-center-web/src/main/js/agents/agent-server.js  | 6 ++++--
 .../control-center-web/src/main/js/controllers/models/sql.json | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c27c9111/modules/control-center-web/src/main/js/agents/agent-server.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/agents/agent-server.js b/modules/control-center-web/src/main/js/agents/agent-server.js
index 842155f..e0e2ec6 100644
--- a/modules/control-center-web/src/main/js/agents/agent-server.js
+++ b/modules/control-center-web/src/main/js/agents/agent-server.js
@@ -15,6 +15,8 @@
  * limitations under the License.
  */
 
+var _ = require('lodash');
+
 /**
  * Creates an instance of server for Ignite
  *
@@ -36,9 +38,9 @@ function AgentServer(client) {
 AgentServer.prototype.runCommand = function(cmd, callback) {
     var params = {cmd: cmd.name()};
 
-    for (var p of cmd._params) {
+    _.forEach(cmd._params, function (p) {
         params[p.key] = p.value;
-    }
+    });
 
     var body = undefined;
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c27c9111/modules/control-center-web/src/main/js/controllers/models/sql.json
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/models/sql.json b/modules/control-center-web/src/main/js/controllers/models/sql.json
index 552e5d4..c83352a 100644
--- a/modules/control-center-web/src/main/js/controllers/models/sql.json
+++ b/modules/control-center-web/src/main/js/controllers/models/sql.json
@@ -3,6 +3,6 @@
     "Select cache and execute SQL queries."
   ],
   "missingClientTip": [
-    "Please download and install <a href='/agent/agent-1.2.1-SNAPSHOT.zip' target='_self'>client</a>."
+    "Please download and install <a href='/agent/agent.zip' target='_self'>client</a>."
   ]
 }


Mime
View raw message