ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [13/50] [abbrv] ignite git commit: IGNITE-6647 Added missing Mongo injector.
Date Tue, 24 Oct 2017 08:47:20 GMT
IGNITE-6647 Added missing Mongo injector.


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

Branch: refs/heads/ignite-3478-tree
Commit: 173ecef0fadfeeaf2ffe03e5109962fce01c048e
Parents: 3a9fcd4
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Fri Oct 20 11:23:23 2017 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Fri Oct 20 11:23:23 2017 +0700

----------------------------------------------------------------------
 modules/web-console/backend/index.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/173ecef0/modules/web-console/backend/index.js
----------------------------------------------------------------------
diff --git a/modules/web-console/backend/index.js b/modules/web-console/backend/index.js
index 06a38f8..8454789 100644
--- a/modules/web-console/backend/index.js
+++ b/modules/web-console/backend/index.js
@@ -122,8 +122,8 @@ const migrate = (dbConnectionUri, group, migrationsPath) => {
         });
 };
 
-injector('settings')
-    .then(({mongoUrl}) => {
+Promise.all([injector('settings'), injector('mongo')])
+    .then(([{mongoUrl}]) => {
         return migrate(mongoUrl, 'Ignite', path.join(__dirname, 'migrations'))
             .then(() => migrate(mongoUrl, 'Ignite Modules', path.join(igniteModules, 'migrations')));
     })


Mime
View raw message