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:00 UTC

[43/50] ignite git commit: IGNITE-843 Minor fix.

IGNITE-843 Minor fix.


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

Branch: refs/heads/ignite-843-rc3
Commit: 3a421b8be97fc979b7a3ad6c616957d71ca88dec
Parents: 0fa2c01
Author: Andrey <an...@gridgain.com>
Authored: Tue Feb 16 17:17:27 2016 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Tue Feb 16 17:17:27 2016 +0700

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/3a421b8b/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 6d8b87f..ff9a29b 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
@@ -180,7 +180,7 @@ module.exports.factory = (_, express, mongo) => {
             const domainId = params._id;
 
             mongo.DomainModel.findOne(params).exec()
-                .then((domain) => mongo.Cache.update({_id: {$in: domain.caches}}, {$pull: {domain: domainId}}, {multi: true}).exec())
+                .then((domain) => mongo.Cache.update({_id: {$in: domain.caches}}, {$pull: {domains: domainId}}, {multi: true}).exec())
                 .then(() => mongo.DomainModel.remove(params).exec())
                 .then(() => res.sendStatus(200))
                 .catch((err) => mongo.handleError(res, err));