You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2016/02/16 16:15:03 UTC

[46/50] ignite git commit: IGNITE-843 Fixed domain save.

IGNITE-843 Fixed domain save.


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

Branch: refs/heads/ignite-843-rc3
Commit: 11f7aba143dd39f6b32a7df5f7930735f3a8fe4f
Parents: aa8c1a9
Author: Andrey <an...@gridgain.com>
Authored: Tue Feb 16 17:53:23 2016 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Tue Feb 16 17:53:23 2016 +0700

----------------------------------------------------------------------
 modules/control-center-web/src/main/js/serve/routes/domains.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/11f7aba1/modules/control-center-web/src/main/js/serve/routes/domains.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/serve/routes/domains.js b/modules/control-center-web/src/main/js/serve/routes/domains.js
index d1cd8d0..09298b5 100644
--- a/modules/control-center-web/src/main/js/serve/routes/domains.js
+++ b/modules/control-center-web/src/main/js/serve/routes/domains.js
@@ -125,7 +125,7 @@ module.exports.factory = (_, express, mongo) => {
                                     // Cache already exists, just save domain model.
                                     domain.caches = [cache._id];
 
-                                    promises.push(_saveDomainModel(domain, savedDomains))
+                                    promises.push(_saveDomainModel(domain, savedDomains));
                                 }
                                 else {
                                     // If cache not found, then create it and associate with domain model.
@@ -142,7 +142,7 @@ module.exports.factory = (_, express, mongo) => {
 
                                             return mongo.Cluster.update({_id: {$in: generatedCache.clusters}}, {$addToSet: {caches: cacheId}}, {multi: true}).exec();
                                         })
-                                        .then(() => promises.push(_saveDomainModel(domain, savedDomains)))
+                                        .then(() => promises.push(_saveDomainModel(domain, savedDomains)));
                                 }
                             });
                     }