You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/07/06 11:55:17 UTC

[ambari] branch branch-2.7 updated: AMBARI-24252 Can't register HDP 3.0.0.0 version and "Use Local Repository"

This is an automated email from the ASF dual-hosted git repository.

atkach pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 59caf72  AMBARI-24252 Can't register HDP 3.0.0.0 version and "Use Local Repository"
59caf72 is described below

commit 59caf726c376edcecba2b799e48cf0ce1a60c44c
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Fri Jul 6 13:35:07 2018 +0300

    AMBARI-24252 Can't register HDP 3.0.0.0 version and "Use Local Repository"
---
 .../app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js
index 49e5bb0..78f0880 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js
@@ -275,7 +275,7 @@ angular.module('ambariAdminConsole')
       $scope.osList.forEach(function(os) {
         if (os.repositories && os.selected) {
           os.repositories.forEach(function(repo) {
-            if (repo.invalidBaseUrl) {
+            if (repo.invalidBaseUrl && $scope.showRepo(repo)) {
               validBaseUrlsExist = false;
             }
           })