ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [1/4] ignite git commit: IGNITE-6366 Improve web agent version check.
Date Wed, 13 Sep 2017 11:17:03 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-5896 6062ed14e -> 4d78938c4


IGNITE-6366 Improve web agent version check.


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

Branch: refs/heads/ignite-5896
Commit: 40a9cc1972af7c85bf45609e874ea43524eec299
Parents: 2b5224f
Author: anovikov <anovikov@gridgain.com>
Authored: Wed Sep 13 18:01:58 2017 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Wed Sep 13 18:01:58 2017 +0700

----------------------------------------------------------------------
 modules/web-console/backend/app/agentsHandler.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/40a9cc19/modules/web-console/backend/app/agentsHandler.js
----------------------------------------------------------------------
diff --git a/modules/web-console/backend/app/agentsHandler.js b/modules/web-console/backend/app/agentsHandler.js
index a4ae385..112793a 100644
--- a/modules/web-console/backend/app/agentsHandler.js
+++ b/modules/web-console/backend/app/agentsHandler.js
@@ -288,7 +288,7 @@ module.exports.factory = function(_, fs, path, JSZip, socketio, settings,
mongo,
                             if (ver && bt && !_.isEmpty(supportedAgents))
{
                                 const btDistr = _.get(supportedAgents, [ver, 'buildTime']);
 
-                                if (_.isEmpty(btDistr) || btDistr < bt)
+                                if (_.isEmpty(btDistr) || btDistr !== bt)
                                     return cb('You are using an older version of the agent.
Please reload agent');
                             }
 


Mime
View raw message