You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2014/09/04 22:03:46 UTC

git commit: AMBARI-7157. UI is not sending all the configs on validation (alexantonenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk fd732e3d0 -> 301714a3d


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/trunk
Commit: 301714a3d428543500c96ec04dee8b97ae9e4b4a
Parents: fd732e3
Author: Alex Antonenko <hi...@gmail.com>
Authored: Thu Sep 4 22:53:58 2014 +0300
Committer: Alex Antonenko <hi...@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){