You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2017/06/16 09:42:05 UTC
[09/50] ignite git commit: IGNITE-5415 Fixed NPE.
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 <ak...@apache.org>
Authored: Thu Jun 15 20:31:18 2017 +0700
Committer: Alexey Kuznetsov <ak...@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())