You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2015/12/04 07:47:27 UTC
ignite git commit: IGNITE-843 Fixed message from agent in case of
connect to secure grid.
Repository: ignite
Updated Branches:
refs/heads/ignite-843-rc2 fb2f6fc5e -> 95b716bd7
IGNITE-843 Fixed message from agent in case of connect to secure grid.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/95b716bd
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/95b716bd
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/95b716bd
Branch: refs/heads/ignite-843-rc2
Commit: 95b716bd77380ab6f2b3dc6e2258d3525740bb56
Parents: fb2f6fc
Author: Andrey <an...@gridgain.com>
Authored: Fri Dec 4 13:47:16 2015 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Fri Dec 4 13:47:16 2015 +0700
----------------------------------------------------------------------
modules/control-center-web/src/main/js/routes/agent.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/95b716bd/modules/control-center-web/src/main/js/routes/agent.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/routes/agent.js b/modules/control-center-web/src/main/js/routes/agent.js
index 693fb9f..1d40dba 100644
--- a/modules/control-center-web/src/main/js/routes/agent.js
+++ b/modules/control-center-web/src/main/js/routes/agent.js
@@ -96,7 +96,7 @@ router.post('/topology', function (req, res) {
}, function (err) {
var mStatusCode = /.*Status code:\s+(\d+)(?:\s|$)/g.exec(err);
- res.status(mStatusCode[1] ? mStatusCode[1] : 500).send(err);
+ res.status(mStatusCode != null && mStatusCode[1] ? mStatusCode[1] : 500).send(err);
});
}
});