This is an automated email from the ASF dual-hosted git repository.
ncole pushed a commit to branch branch-feature-AMBARI-21674
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-feature-AMBARI-21674 by
this push:
new c382813 Remove default java home from API for check_host action
c382813 is described below
commit c38281322de1ee56b5872c5503677d7df26d4a67
Author: Pravin DSilva <[email protected]>
AuthorDate: Thu Feb 8 15:02:51 2018 +0530
Remove default java home from API for check_host action
---
.../app/views/common/configs/widgets/test_db_connection_widget_view.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
b/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
index 39f7e6e..e800ece 100644
---
a/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
+++
b/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
@@ -157,14 +157,13 @@ App.TestDbConnectionWidgetView =
App.ConfigWidgetView.extend({
ambari_server_host: location.hostname,
check_execute_list: "db_connection_check"
};
- var properties = App.permit(properties, ['jdk.name', 'jdk_location',
'java.home']);
+ var properties = App.permit(properties, ['jdk.name', 'jdk_location']);
var renameKey = function (oldKey, newKey) {
if (properties[oldKey]) {
defaults[newKey] = properties[oldKey];
delete properties[oldKey];
}
};
- renameKey('java.home', 'java_home');
renameKey('jdk.name', 'jdk_name');
$.extend(properties, defaults);
App.db.set('tmp', 'ambariProperties', properties);
--
To stop receiving notification emails like this one, please contact
[email protected].