Selaa lähdekoodia

AMBARI-9181 RU: UI prevents cluster ops like restarting services even after the RU has finalized. (atkach)

Andrii Tkach 10 vuotta sitten
vanhempi
commit
15dbe35786
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      ambari-web/app/app.js

+ 1 - 1
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;
     }