Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 39b75711b -> 181131d00


AMBARI-18436. Add service wizard: Customize service page keeps showing spinner. 
(jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/181131d0
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/181131d0
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/181131d0

Branch: refs/heads/branch-2.5
Commit: 181131d009cd74b300e403a67ae7eb829f27af25
Parents: 39b7571
Author: Jaimin Jetly <jai...@hortonworks.com>
Authored: Wed Sep 21 15:50:43 2016 -0700
Committer: Jaimin Jetly <jai...@hortonworks.com>
Committed: Wed Sep 21 15:52:59 2016 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step7_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/181131d0/ambari-web/app/controllers/wizard/step7_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step7_controller.js 
b/ambari-web/app/controllers/wizard/step7_controller.js
index b8678a5..dc030be 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -807,7 +807,7 @@ App.WizardStep7Controller = 
Em.Controller.extend(App.ServerValidatorMixin, App.E
       if (service.get('serviceName') === 'YARN') {
         configsByService[service.get('serviceName')] = 
App.config.addYarnCapacityScheduler(configsByService[service.get('serviceName')]);
       }
-      service.set('configs', configsByService[service.get('serviceName')]);
+      service.set('configs', configsByService[service.get('serviceName')] || 
[]);
       if (['addServiceController', 
'installerController'].contains(this.get('wizardController.name'))) {
         this.addHostNamesToConfigs(service, localDB.masterComponentHosts, 
localDB.slaveComponentHosts);
       }

Reply via email to