ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-17690 StackAdvisor warning is missing at saving configs even when there are errors in stackadvisor. (atkach)
Date Wed, 13 Jul 2016 17:11:27 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 10a943687 -> 0021fa886


AMBARI-17690 StackAdvisor warning is missing at saving configs even when there are errors
in stackadvisor. (atkach)


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

Branch: refs/heads/trunk
Commit: 0021fa886f02582aa0824d3d878913a956edfd85
Parents: 10a9436
Author: Andrii Tkach <atkach@apache.org>
Authored: Wed Jul 13 19:03:28 2016 +0300
Committer: Andrii Tkach <atkach@apache.org>
Committed: Wed Jul 13 20:09:38 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/common/serverValidator.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0021fa88/ambari-web/app/mixins/common/serverValidator.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/serverValidator.js b/ambari-web/app/mixins/common/serverValidator.js
index e18c0a9..9fb5ae3 100644
--- a/ambari-web/app/mixins/common/serverValidator.js
+++ b/ambari-web/app/mixins/common/serverValidator.js
@@ -138,9 +138,7 @@ App.ServerValidatorMixin = Em.Mixin.create({
         },
         success: 'validationSuccess',
         error: 'validationError'
-      }).complete(function() {
-        dfd.resolve();
-      });
+      }).done(dfd.resolve).fail(dfd.reject);
     });
     return dfd.promise();
   },


Mime
View raw message