Skip to content
Permalink
Browse files
AMBARI-25052 Unable to Add Services Due to toMapByProperty()
  • Loading branch information
atkach committed Dec 19, 2018
1 parent 40f99c5 commit 556e91e3fac5c5b45356fb99c680786c603cc632
Showing 1 changed file with 1 addition and 1 deletion.
@@ -234,7 +234,7 @@ App.AddServiceController = App.WizardController.extend(App.AddSecurityConfigs, {
*/
saveMasterComponentHosts: function (stepController) {
var masterComponentHosts = [];
var installedComponentsMap = App.HostComponent.find().toMapByProperty('componentName');
var installedComponentsMap = App.HostComponent.find().toArray().toMapByProperty('componentName');

stepController.get('selectedServicesMasters').forEach(function (_component) {
var installedComponent = installedComponentsMap[_component.component_name];

0 comments on commit 556e91e

Please sign in to comment.