ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [09/50] ignite git commit: IGNITE-5415 Fixed NPE.
Date Fri, 16 Jun 2017 09:42:05 GMT
IGNITE-5415 Fixed NPE.


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

Branch: refs/heads/ignite-5267-1
Commit: e6348d6cba34e53d55444aeaac55e4f83886d5c8
Parents: 1799728
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Thu Jun 15 20:31:18 2017 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Thu Jun 15 20:31:18 2017 +0700

----------------------------------------------------------------------
 .../app/modules/configuration/generator/ConfigurationGenerator.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/e6348d6c/modules/web-console/frontend/app/modules/configuration/generator/ConfigurationGenerator.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/modules/configuration/generator/ConfigurationGenerator.js
b/modules/web-console/frontend/app/modules/configuration/generator/ConfigurationGenerator.js
index 501d724..7b4e25a 100644
--- a/modules/web-console/frontend/app/modules/configuration/generator/ConfigurationGenerator.js
+++ b/modules/web-console/frontend/app/modules/configuration/generator/ConfigurationGenerator.js
@@ -414,7 +414,7 @@ export default class IgniteConfigurationGenerator {
         if (acfg.valueOf('cacheMode') === 'PARTITIONED')
             acfg.intProperty('backups');
 
-        if (available('2.1.0'))
+        if (available('2.1.0') && _.nonNil(atomics))
             this.affinity(atomics.affinity, acfg);
 
         if (acfg.isEmpty())


Mime
View raw message