ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiw...@apache.org
Subject ambari git commit: AMBARI-13932. Misleading message for downgrade during EU from 2.1 to 2.3.(xiwang)
Date Wed, 18 Nov 2015 01:08:49 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 6ddab1b01 -> edae7bd5c


AMBARI-13932. Misleading message for downgrade during EU from 2.1 to 2.3.(xiwang)


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

Branch: refs/heads/trunk
Commit: edae7bd5c3c6afeb6c4facddc2c9124268379baa
Parents: 6ddab1b
Author: Xi Wang <xiwang@apache.org>
Authored: Tue Nov 17 16:34:55 2015 -0800
Committer: Xi Wang <xiwang@apache.org>
Committed: Tue Nov 17 16:34:55 2015 -0800

----------------------------------------------------------------------
 .../main/admin/stack_upgrade/stack_upgrade_wizard.hbs        | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/edae7bd5/ambari-web/app/templates/main/admin/stack_upgrade/stack_upgrade_wizard.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/admin/stack_upgrade/stack_upgrade_wizard.hbs b/ambari-web/app/templates/main/admin/stack_upgrade/stack_upgrade_wizard.hbs
index 5f254d3..9c8b4fd 100644
--- a/ambari-web/app/templates/main/admin/stack_upgrade/stack_upgrade_wizard.hbs
+++ b/ambari-web/app/templates/main/admin/stack_upgrade/stack_upgrade_wizard.hbs
@@ -172,7 +172,9 @@
                   {{t admin.stackUpgrade.failedHosts.options}}
                 <ul>
                   <li>{{t admin.stackUpgrade.failedHosts.options.first}}</li>
-                  <li>{{t admin.stackUpgrade.failedHosts.options.second}}</li>
+                  {{#if view.isDowngradeAvailable}}
+                    <li>{{t admin.stackUpgrade.failedHosts.options.second}}</li>
+                  {{/if}}
                 </ul>
                 </p>
             </div>
@@ -230,7 +232,9 @@
                   <ul>
                     <li>{{t admin.stackUpgrade.failedHosts.options.first}}</li>
                     <li>{{t admin.stackUpgrade.failedHosts.options.third}}</li>
-                    <li>{{t admin.stackUpgrade.failedHosts.options.second}}</li>
+                    {{#if view.isDowngradeAvailable}}
+                      <li>{{t admin.stackUpgrade.failedHosts.options.second}}</li>
+                    {{/if}}
                   </ul>
                   </p>
                 </div>


Mime
View raw message