Repository: ambari Updated Branches: refs/heads/trunk c061d7213 -> 15dbe3578
AMBARI-9181 RU: UI prevents cluster ops like restarting services even after the RU has finalized. (atkach) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/15dbe357 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/15dbe357 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/15dbe357 Branch: refs/heads/trunk Commit: 15dbe35786a62aec81618665f90c91fe04c7d52d Parents: c061d72 Author: Andrii Tkach <[email protected]> Authored: Fri Jan 16 21:15:14 2015 +0200 Committer: Andrii Tkach <[email protected]> Committed: Fri Jan 16 21:16:30 2015 +0200 ---------------------------------------------------------------------- ambari-web/app/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/15dbe357/ambari-web/app/app.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/app.js b/ambari-web/app/app.js index 44681a7..eb68a68 100644 --- a/ambari-web/app/app.js +++ b/ambari-web/app/app.js @@ -76,7 +76,7 @@ module.exports = Em.Application.create({ * @return {boolean} */ isAccessible: function (type) { - if (!App.get('supports.opsDuringRollingUpgrade') && this.get('upgradeState') !== 'INIT' && !type.contains('upgrade_')) { + if (!App.get('supports.opsDuringRollingUpgrade') && !['INIT', 'COMPLETED'].contains(this.get('upgradeState')) && !type.contains('upgrade_')) { return false; }
