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:03 UTC

[ambari] branch trunk 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 trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


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

commit 7b7c1aad1a78d51f39dbb5f5f04eb2d8e1b48c00
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Fri Jul 6 13:30:46 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;
             }
           })