ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [43/50] ignite git commit: IGNITE-843 Minor fix.
Date Tue, 16 Feb 2016 15:15:00 GMT
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 <anovikov@gridgain.com>
Authored: Tue Feb 16 17:17:27 2016 +0700
Committer: Andrey <anovikov@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));


Mime
View raw message