You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2014/02/11 12:54:43 UTC

git commit: AMBARI-4594 Ability to cancel rolling restart no longer shows up. (ababiichuk)

Updated Branches:
  refs/heads/trunk d0f3c900f -> 980cdec62


AMBARI-4594 Ability to cancel rolling restart no longer shows up. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: 980cdec62c5d8b1aa811b93dc5b491db16efc9d7
Parents: d0f3c90
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Tue Feb 11 13:51:21 2014 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Tue Feb 11 13:51:43 2014 +0200

----------------------------------------------------------------------
 .../app/controllers/global/background_operations_controller.js     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/980cdec6/ambari-web/app/controllers/global/background_operations_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/background_operations_controller.js b/ambari-web/app/controllers/global/background_operations_controller.js
index 85cea61..ec92570 100644
--- a/ambari-web/app/controllers/global/background_operations_controller.js
+++ b/ambari-web/app/controllers/global/background_operations_controller.js
@@ -184,7 +184,7 @@ App.BackgroundOperationsController = Em.Controller.extend({
           startTime: request.Requests.start_time,
           endTime: request.Requests.end_time,
           dependentService: requestParams.dependentService,
-          sourceRequestScheduleId: request.Requests.source_schedule_id,
+          sourceRequestScheduleId: request.Requests.request_schedule && request.Requests.request_schedule.schedule_id,
           previousTaskStatusMap: {},
           contextCommand: requestParams.contextCommand
         });