ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: #ignite-961: fix response status code in server.js.
Date Tue, 09 Jun 2015 12:45:31 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-961 9c1039b04 -> 30419cdb6


#ignite-961: fix response status code in server.js.


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

Branch: refs/heads/ignite-961
Commit: 30419cdb65b659bdd8fcb8e336e6520875c2d3de
Parents: 9c1039b
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Jun 9 15:45:22 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Jun 9 15:45:22 2015 +0300

----------------------------------------------------------------------
 modules/nodejs/src/main/js/server.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/30419cdb/modules/nodejs/src/main/js/server.js
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/main/js/server.js b/modules/nodejs/src/main/js/server.js
index 082627d..b1a3190 100644
--- a/modules/nodejs/src/main/js/server.js
+++ b/modules/nodejs/src/main/js/server.js
@@ -87,7 +87,7 @@ Server.prototype.runCommand = function(cmdName, params, callback) {
           callback.call(null, "Authentication failed. Status code 401.");
         }
         else {
-          callback.call(null, "Request failed. Status code " + statusCode);
+          callback.call(null, "Request failed. Status code " + response.statusCode);
         }
 
         return;


Mime
View raw message