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-17448. Ambari wizard cannot add Service (alexantonenko)
Date Mon, 27 Jun 2016 16:21:36 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk bf1955964 -> dffff6ca8


AMBARI-17448. Ambari wizard cannot add Service (alexantonenko)


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

Branch: refs/heads/trunk
Commit: dffff6ca8a64f76629dfd384c546dea38e8d0246
Parents: bf19559
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Mon Jun 27 16:18:41 2016 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Mon Jun 27 19:21:30 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/common/configs/configs_saver.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/dffff6ca/ambari-web/app/mixins/common/configs/configs_saver.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/configs/configs_saver.js b/ambari-web/app/mixins/common/configs/configs_saver.js
index a841951..43a77ce 100644
--- a/ambari-web/app/mixins/common/configs/configs_saver.js
+++ b/ambari-web/app/mixins/common/configs/configs_saver.js
@@ -390,7 +390,9 @@ App.ConfigsSaverMixin = Em.Mixin.create({
       fileNamesToSave.forEach(function(fName) {
 
         /** @see <code>_timeStamps<code> **/
-        if (this.get('_timeStamps')[fName] === tagVersion) tagVersion++;
+        if (this.get('_timeStamps')[fName] === tagVersion) {
+          tagVersion = "version" + ((new Date).getTime() + 1);
+        }
         this.get('_timeStamps')[fName] = tagVersion;
 
         if (this.allowSaveSite(fName)) {


Mime
View raw message