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/07/19 13:54:52 UTC
[ambari] branch trunk updated: AMBARI-24310 UI sends host check
request for custom jdk with invalid hosts. (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 8bbd90c AMBARI-24310 UI sends host check request for custom jdk with invalid hosts. (ababiichuk)
8bbd90c is described below
commit 8bbd90cc2e0b53ef40fc75f5c9623eb15df43f04
Author: ababiichuk <ab...@hortonworks.com>
AuthorDate: Thu Jul 19 15:56:12 2018 +0300
AMBARI-24310 UI sends host check request for custom jdk with invalid hosts. (ababiichuk)
---
ambari-web/app/controllers/wizard/step3_controller.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ambari-web/app/controllers/wizard/step3_controller.js b/ambari-web/app/controllers/wizard/step3_controller.js
index 18d8e84..f6d9f21 100644
--- a/ambari-web/app/controllers/wizard/step3_controller.js
+++ b/ambari-web/app/controllers/wizard/step3_controller.js
@@ -725,9 +725,9 @@ App.WizardStep3Controller = Em.Controller.extend(App.ReloadPopupMixin, App.Check
},
doCheckJDK: function () {
- var hostsNames = (!this.get('content.installOptions.manualInstall')) ? this.get('bootHosts').filterProperty('bootStatus', 'REGISTERED').getEach('name').join(",") : this.get('bootHosts').getEach('name').join(",");
- var javaHome = this.get('javaHome');
- var jdkLocation = this.get('jdkLocation');
+ const hostsNames = this.get('bootHosts').filterProperty('bootStatus', 'REGISTERED').getEach('name').join(','),
+ javaHome = this.get('javaHome'),
+ jdkLocation = this.get('jdkLocation');
App.ajax.send({
name: 'wizard.step3.jdk_check',
sender: this,