You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2017/07/25 13:42:15 UTC
ambari git commit: AMBARI-21344. Add Services Using Repository ID.
Second patch. (alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/branch-feature-AMBARI-21450 15cd3d837 -> 54c4b4957
AMBARI-21344. Add Services Using Repository ID. Second patch. (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/54c4b495
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/54c4b495
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/54c4b495
Branch: refs/heads/branch-feature-AMBARI-21450
Commit: 54c4b495787da38de2de820653304fe86bf7feea
Parents: 15cd3d8
Author: Alex Antonenko <aa...@hortonworks.com>
Authored: Tue Jul 25 16:41:37 2017 +0300
Committer: Alex Antonenko <aa...@hortonworks.com>
Committed: Tue Jul 25 16:41:37 2017 +0300
----------------------------------------------------------------------
ambari-web/app/controllers/wizard/step8_controller.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/54c4b495/ambari-web/app/controllers/wizard/step8_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step8_controller.js b/ambari-web/app/controllers/wizard/step8_controller.js
index 41a4aaf..e0c2f5d 100644
--- a/ambari-web/app/controllers/wizard/step8_controller.js
+++ b/ambari-web/app/controllers/wizard/step8_controller.js
@@ -1019,9 +1019,9 @@ App.WizardStep8Controller = Em.Controller.extend(App.AddSecurityConfigs, App.wiz
if (this.get('isInstaller')) {
selectedStack = App.Stack.find().findProperty('isSelected', true);
}
- return this.get('selectedServices').map(service => selectedStack ?
+ return this.get('selectedServices').map(function(service) {return selectedStack ?
{"ServiceInfo": { "service_name": service.get('serviceName'), "desired_repository_version_id": selectedStack.get('versionInfoId') }} :
- {"ServiceInfo": { "service_name": service.get('serviceName') }});
+ {"ServiceInfo": { "service_name": service.get('serviceName') }}});
},
/**