Updated Branches:
  refs/heads/trunk d26023841 -> d67d1fe8f

AMBARI-3514 Eliminate updating of immutable properties for hosts, second patch. 
(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/d67d1fe8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/d67d1fe8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/d67d1fe8

Branch: refs/heads/trunk
Commit: d67d1fe8fd838032946339f48b5972de639788b6
Parents: d260238
Author: atkach <[email protected]>
Authored: Tue Oct 15 16:40:15 2013 +0300
Committer: atkach <[email protected]>
Committed: Tue Oct 15 16:40:15 2013 +0300

----------------------------------------------------------------------
 ambari-web/app/routes/add_service_routes.js     | 2 +-
 ambari-web/app/routes/reassign_master_routes.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/d67d1fe8/ambari-web/app/routes/add_service_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/add_service_routes.js 
b/ambari-web/app/routes/add_service_routes.js
index abf2907..c217e9c 100644
--- a/ambari-web/app/routes/add_service_routes.js
+++ b/ambari-web/app/routes/add_service_routes.js
@@ -27,7 +27,7 @@ module.exports = Em.Route.extend({
       Em.run.next(function () {
         var addServiceController = router.get('addServiceController');
         App.router.get('updateController').set('isWorking', false);
-        var hostsUrl = '/hosts?fields=Hosts/host_name,Hosts/disk_info';
+        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');
         });

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/d67d1fe8/ambari-web/app/routes/reassign_master_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/reassign_master_routes.js 
b/ambari-web/app/routes/reassign_master_routes.js
index 0435ba0..060c364 100644
--- a/ambari-web/app/routes/reassign_master_routes.js
+++ b/ambari-web/app/routes/reassign_master_routes.js
@@ -24,7 +24,7 @@ module.exports = Em.Route.extend({
       Em.run.next(function () {
         var reassignMasterController = router.get('reassignMasterController');
         App.router.get('updateController').set('isWorking', false);
-        var hostsUrl = '/hosts?fields=Hosts/host_name,Hosts/disk_info';
+        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');
         });

Reply via email to