You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2016/06/08 09:54:25 UTC

ambari git commit: AMBARI-17096 Pause Upgrade does not work correctly first time at 'Finalize Upgrade pre-check' step

Repository: ambari
Updated Branches:
  refs/heads/trunk e2932d482 -> 6e762a04d


AMBARI-17096 Pause Upgrade does not work correctly first time at 'Finalize Upgrade pre-check' step


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

Branch: refs/heads/trunk
Commit: 6e762a04df11c6c9344b2e61382b606af5caea78
Parents: e2932d4
Author: Andrii Tkach <at...@apache.org>
Authored: Tue Jun 7 17:08:06 2016 +0300
Committer: Andrii Tkach <at...@apache.org>
Committed: Wed Jun 8 12:51:34 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/6e762a04/ambari-web/app/app.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/app.js b/ambari-web/app/app.js
index dd400c6..6432be3 100644
--- a/ambari-web/app/app.js
+++ b/ambari-web/app/app.js
@@ -85,7 +85,7 @@ module.exports = Em.Application.create({
    */
   upgradeAborted: function () {
     return this.get('upgradeState') === "ABORTED" && !App.router.get('mainAdminStackAndUpgradeController.isSuspended');
-  }.property('upgradeState', 'App.router.mainAdminStackAndUpgradeController.isSuspended'),
+  }.property('upgradeState', 'router.mainAdminStackAndUpgradeController.isSuspended'),
 
   /**
    * flag is true when upgrade process is suspended
@@ -93,7 +93,7 @@ module.exports = Em.Application.create({
    */
   upgradeSuspended: function () {
     return this.get('upgradeState') === "ABORTED" && App.router.get('mainAdminStackAndUpgradeController.isSuspended');
-  }.property('upgradeState', 'App.router.mainAdminStackAndUpgradeController.isSuspended'),
+  }.property('upgradeState', 'router.mainAdminStackAndUpgradeController.isSuspended'),
 
   /**
    * RU is running