ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-12167. Progress bar remains blue on deploy finish. Additional patch. (alexantonenko)
Date Mon, 29 Jun 2015 19:18:10 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 1c7a2f8c9 -> 9527f0c1f


AMBARI-12167. Progress bar remains blue on deploy finish. Additional patch. (alexantonenko)


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

Branch: refs/heads/branch-2.1
Commit: 9527f0c1f9517c2c83dfe4a209b386c2eef28981
Parents: 1c7a2f8
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Mon Jun 29 20:56:22 2015 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Mon Jun 29 22:18:05 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step9_controller.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9527f0c1/ambari-web/app/controllers/wizard/step9_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step9_controller.js b/ambari-web/app/controllers/wizard/step9_controller.js
index 0e695b9..e5b6c15 100644
--- a/ambari-web/app/controllers/wizard/step9_controller.js
+++ b/ambari-web/app/controllers/wizard/step9_controller.js
@@ -613,7 +613,9 @@ App.WizardStep9Controller = Em.Controller.extend(App.ReloadPopupMixin,
{
    * @method onSuccessPerHost
    */
   onSuccessPerHost: function (actions, contentHost) {
-    if (actions.everyProperty('Tasks.status', 'COMPLETED') && this.get('content.cluster.status')
=== 'INSTALLED') {
+    var status = this.get('content.cluster.status');
+    if (actions.everyProperty('Tasks.status', 'COMPLETED') && 
+        (status === 'INSTALLED' || status === 'STARTED') ) {
       contentHost.set('status', 'success');
     }
   },


Mime
View raw message