ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject incubator-ignite git commit: IGNITE-843 Bug fix: remove unnecessary content length.
Date Wed, 05 Aug 2015 07:00:51 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 6e44fdc9d -> 1f282c40f


IGNITE-843 Bug fix: remove unnecessary content length.


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

Branch: refs/heads/ignite-843
Commit: 1f282c40f36131abeb45df0c2c5e9429cb36e7f0
Parents: 6e44fdc
Author: sevdokimov <sergey.evdokimov@jetbrains.com>
Authored: Wed Aug 5 10:00:31 2015 +0300
Committer: sevdokimov <sergey.evdokimov@jetbrains.com>
Committed: Wed Aug 5 10:00:45 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/1f282c40/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 e0e2ec6..2efe531 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
@@ -53,7 +53,7 @@ AgentServer.prototype.runCommand = function(cmd, callback) {
 
         method = 'POST';
 
-        headers = {'Content-Length': body.length, 'JSONObject': 'application/json'};
+        headers = {'JSONObject': 'application/json'};
     }
 
     this._client.executeRest("ignite", params, method, headers, body, function(error, code,
message) {


Mime
View raw message