Repository: ambari Updated Branches: refs/heads/branch-2.1 314cbf989 -> 837710b43
AMBARI-13654 Ranger DB host should be left empty by default. (ababiichuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/837710b4 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/837710b4 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/837710b4 Branch: refs/heads/branch-2.1 Commit: 837710b436f7be3a8adb90767c28f353ffc40124 Parents: 27b1fac Author: aBabiichuk <ababiic...@cybervisiontech.com> Authored: Fri Oct 30 12:24:51 2015 +0200 Committer: aBabiichuk <ababiic...@cybervisiontech.com> Committed: Fri Oct 30 12:25:31 2015 +0200 ---------------------------------------------------------------------- ambari-web/app/utils/configs/config_property_helper.js | 7 ------- 1 file changed, 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/837710b4/ambari-web/app/utils/configs/config_property_helper.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/configs/config_property_helper.js b/ambari-web/app/utils/configs/config_property_helper.js index d3f0bd5..0477434 100644 --- a/ambari-web/app/utils/configs/config_property_helper.js +++ b/ambari-web/app/utils/configs/config_property_helper.js @@ -215,13 +215,6 @@ module.exports = { configProperty.set('isRequired', 'false'); } break; - case 'db_host': - var masterComponent = masterComponentHostsInDB.findProperty('component', 'RANGER_ADMIN'); - if (masterComponent) { - configProperty.set('value', masterComponent.hostName); - configProperty.set('recommendedValue', masterComponent.hostName); - } - break; } },