You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2015/09/02 12:10:38 UTC

ignite git commit: # IGNITE-843 Updated admin route.

Repository: ignite
Updated Branches:
  refs/heads/ignite-843 83ad7a008 -> 2c927c1da


# IGNITE-843 Updated admin route.


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

Branch: refs/heads/ignite-843
Commit: 2c927c1dae8a3b7bf5e16cb7109d68502b50f2a9
Parents: 83ad7a0
Author: Andrey <an...@gridgain.com>
Authored: Wed Sep 2 17:11:14 2015 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Wed Sep 2 17:11:14 2015 +0700

----------------------------------------------------------------------
 modules/control-center-web/src/main/js/routes/admin.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2c927c1d/modules/control-center-web/src/main/js/routes/admin.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/routes/admin.js b/modules/control-center-web/src/main/js/routes/admin.js
index 62d4672..1dc421c 100644
--- a/modules/control-center-web/src/main/js/routes/admin.js
+++ b/modules/control-center-web/src/main/js/routes/admin.js
@@ -50,7 +50,8 @@ router.post('/remove', function (req, res) {
             _.forEach(spaces, function (space) {
                 db.Cluster.remove({space: space._id}).exec();
                 db.Cache.remove({space: space._id}).exec();
-                db.Persistence.remove({space: space._id}).exec();
+                db.CacheTypeMetadata.remove({space: space._id}).exec();
+                db.DatabasePreset.remove({space: space._id}).exec();
                 db.Notebook.remove({space: space._id}).exec();
                 db.Space.remove({owner: space._id}).exec();
             });