diff --git a/ambari-web/app/controllers/wizard/step1_controller.js
b/ambari-web/app/controllers/wizard/step1_controller.js
index d731a43d9ba..489e4672c61 100644
--- a/ambari-web/app/controllers/wizard/step1_controller.js
+++ b/ambari-web/app/controllers/wizard/step1_controller.js
@@ -193,12 +193,14 @@ App.WizardStep1Controller = Em.Controller.extend({
*/
onNetworkIssuesExist: function() {
if (this.get('networkIssuesExist')) {
- this.get('content.stacks').forEach(function (stack) {
- stack.setProperties({
- usePublicRepo: false,
- useLocalRepo: true
- });
- stack.cleanReposBaseUrls();
+ this.get('content.stacks').forEach(function(stack) {
+ if (stack.get('useLocalRepo') !== true) {
+ stack.setProperties({
+ usePublicRepo: false,
+ useLocalRepo: true
+ });
+ stack.cleanReposBaseUrls();
+ }
});
}
}.observes('networkIssuesExist'),
With regards,
Apache Git Services