You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2018/05/10 14:44:33 UTC

[ambari] branch trunk updated: AMBARI-23809 Identical sets of capacity scheduler properties are displayed as unequal ones in configs comparison view. (ababiichuk)

This is an automated email from the ASF dual-hosted git repository.

ababiichuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new aefd00a  AMBARI-23809 Identical sets of capacity scheduler properties are displayed as unequal ones in configs comparison view. (ababiichuk)
aefd00a is described below

commit aefd00ac5c1e119afee6ccd39a5284600e794b98
Author: ababiichuk <ab...@hortonworks.com>
AuthorDate: Thu May 10 17:03:36 2018 +0300

    AMBARI-23809 Identical sets of capacity scheduler properties are displayed as unequal ones in configs comparison view. (ababiichuk)
---
 ambari-web/app/mappers/configs/stack_config_properties_mapper.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ambari-web/app/mappers/configs/stack_config_properties_mapper.js b/ambari-web/app/mappers/configs/stack_config_properties_mapper.js
index 153907c..ec9d550 100644
--- a/ambari-web/app/mappers/configs/stack_config_properties_mapper.js
+++ b/ambari-web/app/mappers/configs/stack_config_properties_mapper.js
@@ -147,6 +147,9 @@ App.stackConfigPropertiesMapper = App.QuickDataMapper.create({
           staticConfigInfo.description = App.config.getDescription(staticConfigInfo.description, staticConfigInfo.displayType);
           staticConfigInfo.name = JSON.parse('"' + staticConfigInfo.name + '"');
           staticConfigInfo.isUserProperty = false;
+          if (Em.isNone(staticConfigInfo.index)) {
+            staticConfigInfo.index = Infinity;
+          }
           App.configsCollection.add(staticConfigInfo);
 
         }, this);

-- 
To stop receiving notification emails like this one, please contact
ababiichuk@apache.org.