ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [55/59] [abbrv] git commit: AMBARI-7157. UI is not sending all the configs on validation (alexantonenko)
Date Thu, 04 Sep 2014 22:36:34 GMT
AMBARI-7157. UI is not sending all the configs on validation (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/301714a3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/301714a3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/301714a3

Branch: refs/heads/branch-alerts-dev
Commit: 301714a3d428543500c96ec04dee8b97ae9e4b4a
Parents: fd732e3
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Thu Sep 4 22:53:58 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Thu Sep 4 23:03:41 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/utils/blueprint.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/301714a3/ambari-web/app/utils/blueprint.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/blueprint.js b/ambari-web/app/utils/blueprint.js
index 60fda7c..d6cccb6 100644
--- a/ambari-web/app/utils/blueprint.js
+++ b/ambari-web/app/utils/blueprint.js
@@ -218,8 +218,10 @@ module.exports = {
       var config = stepConfigs.findProperty('serviceName', service.get('serviceName'));
       if (config && service.get('configTypes')) {
         Object.keys(service.get('configTypes')).forEach(function(type) {
-          configurations[type] = {
-            properties: {}
+          if(!configurations[type]){
+            configurations[type] = {
+              properties: {}
+            }
           }
         });
         config.get('configs').forEach(function(property){


Mime
View raw message