ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: IGNITE-843 Fixed message on duplicate name.
Date Tue, 16 Feb 2016 10:38:33 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc2 3a421b8be -> 1921dcd1b


IGNITE-843 Fixed message on duplicate name.


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

Branch: refs/heads/ignite-843-rc2
Commit: 1921dcd1b7ddd2a23583902de439270132e49510
Parents: 3a421b8
Author: Andrey <anovikov@gridgain.com>
Authored: Tue Feb 16 17:38:56 2016 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Tue Feb 16 17:38:56 2016 +0700

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/1921dcd1/modules/control-center-web/src/main/js/serve/routes/igfs.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/serve/routes/igfs.js b/modules/control-center-web/src/main/js/serve/routes/igfs.js
index 1eacc72..0291728 100644
--- a/modules/control-center-web/src/main/js/serve/routes/igfs.js
+++ b/modules/control-center-web/src/main/js/serve/routes/igfs.js
@@ -78,7 +78,7 @@ module.exports.factory = function(_, express, mongo) {
                 mongo.Igfs.findOne({space: params.space, name: params.name}).exec()
                     .then((igfs) => {
                         if (igfs)
-                            throw new Error('IGFS with name: "' + igfs + '" already exist.');
+                            throw new Error('IGFS with name: "' + params.name + '" already
exist.');
 
                         return (new mongo.Igfs(params)).save();
                     })


Mime
View raw message