incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject git commit: AMBARI-3048. "Use local repo" always installs the default stack version regardless of stack selected by the user. (alexantonenko via yusaku)
Date Thu, 29 Aug 2013 15:37:46 GMT
Updated Branches:
  refs/heads/trunk 43283406c -> 462c6432d


AMBARI-3048. "Use local repo" always installs the default stack version regardless of stack
selected by the user. (alexantonenko via yusaku)


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

Branch: refs/heads/trunk
Commit: 462c6432d42f9bb13bd847c5a01663e6c5205683
Parents: 4328340
Author: Yusaku Sako <yusaku@hortonworks.com>
Authored: Thu Aug 29 18:36:47 2013 +0300
Committer: Yusaku Sako <yusaku@hortonworks.com>
Committed: Thu Aug 29 18:36:47 2013 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step8_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/462c6432/ambari-web/app/controllers/wizard/step8_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step8_controller.js b/ambari-web/app/controllers/wizard/step8_controller.js
index 38128ac..009d2d6 100644
--- a/ambari-web/app/controllers/wizard/step8_controller.js
+++ b/ambari-web/app/controllers/wizard/step8_controller.js
@@ -1024,7 +1024,7 @@ App.WizardStep8Controller = Em.Controller.extend({
     var clusterName = this.get('clusterName');
     var url = App.apiPrefix + '/clusters/' + clusterName;
 
-    var stackVersion = (this.get('content.installOptions.localRepo')) ? App.defaultLocalStackVersion
: App.currentStackVersion;
+    var stackVersion = (this.get('content.installOptions.localRepo')) ? App.currentStackVersion.replace(/(-\d+(\.\d)*)/ig,
"Local$&") : App.currentStackVersion;
 
     this.ajax({
       type: 'POST',


Mime
View raw message