Updated Branches:
  refs/heads/trunk 7f27602af -> f700bf097

AMBARI-3565 Error with Configs in the addHostWizard. (atkach)


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

Branch: refs/heads/trunk
Commit: f700bf0973ab2cbc285bbb6bcd7f569b45f64deb
Parents: 7f27602
Author: atkach <[email protected]>
Authored: Mon Oct 21 15:51:37 2013 +0300
Committer: atkach <[email protected]>
Committed: Mon Oct 21 15:51:37 2013 +0300

----------------------------------------------------------------------
 ambari-web/app/routes/add_host_routes.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/f700bf09/ambari-web/app/routes/add_host_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/add_host_routes.js 
b/ambari-web/app/routes/add_host_routes.js
index 8ef5f1b..96f49b4 100644
--- a/ambari-web/app/routes/add_host_routes.js
+++ b/ambari-web/app/routes/add_host_routes.js
@@ -25,6 +25,10 @@ module.exports = Em.Route.extend({
     Ember.run.next(function () {
       var addHostController = router.get('addHostController');
       App.router.get('updateController').set('isWorking', false);
+      var hostsUrl = 
'/hosts?fields=Hosts/host_name,Hosts/disk_info,host_components';
+      router.get('clusterController').requestHosts(hostsUrl, function () {
+        console.log('Request for hosts, with disk_info parameter');
+      });
       App.ModalPopup.show({
         classNames: ['full-width-modal'],
         header:Em.I18n.t('hosts.add.header'),

Reply via email to