ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [14/14] incubator-ignite git commit: # IGNITE-1131 Fix header
Date Fri, 17 Jul 2015 13:05:53 GMT
# IGNITE-1131 Fix header


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

Branch: refs/heads/ignite-1121
Commit: 91f1fdcc11352a776f913f3dcd4fd0be12ed4c6d
Parents: 309a71b
Author: sevdokimov <sergey.evdokimov@jetbrains.com>
Authored: Fri Jul 17 16:05:31 2015 +0300
Committer: sevdokimov <sergey.evdokimov@jetbrains.com>
Committed: Fri Jul 17 16:05:31 2015 +0300

----------------------------------------------------------------------
 modules/web-control-center/nodejs/agents/agent-server.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/91f1fdcc/modules/web-control-center/nodejs/agents/agent-server.js
----------------------------------------------------------------------
diff --git a/modules/web-control-center/nodejs/agents/agent-server.js b/modules/web-control-center/nodejs/agents/agent-server.js
index 03e550e..31dee5a 100644
--- a/modules/web-control-center/nodejs/agents/agent-server.js
+++ b/modules/web-control-center/nodejs/agents/agent-server.js
@@ -47,7 +47,7 @@ AgentServer.prototype.runCommand = function(cmd, callback) {
     if (cmd._isPost()) {
         body = cmd.postData();
 
-        headers = {'Content-Length': body.length, 'JSONObject': 'true'};
+        headers = {'Content-Length': body.length, 'JSONObject': 'application/json'};
     }
 
     this._client.invokeRest("ignite", params, function(error, code, message) {


Mime
View raw message