Repository: ambari
Updated Branches:
  refs/heads/trunk 3939afaf6 -> 89eebb0f5


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/89eebb0f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/89eebb0f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/89eebb0f

Branch: refs/heads/trunk
Commit: 89eebb0f553e8667e0eb82c7f96d862b5a37faf8
Parents: 3939afa
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 16:00:14 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/89eebb0f/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