Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 dd0d876e1 -> 82f8e8107


AMBARI-19711 Unable to register HDP version 2.6.0.0 on cluster with HDP 2.5.3.0 
(atkach)


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

Branch: refs/heads/branch-2.5
Commit: 82f8e8107b35728521fc933149779f37c0750320
Parents: dd0d876
Author: Andrii Tkach <[email protected]>
Authored: Wed Jan 25 14:31:16 2017 +0200
Committer: Andrii Tkach <[email protected]>
Committed: Wed Jan 25 15:35:51 2017 +0200

----------------------------------------------------------------------
 .../controllers/stackVersions/StackVersionsCreateCtrl.js       | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/82f8e810/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js
----------------------------------------------------------------------
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 3c16963..b3c27dc 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
@@ -284,6 +284,12 @@ angular.module('ambariAdminConsole')
     $scope.editVersionDisabled = true;
     delete $scope.updateObj.href;
     $scope.updateObj.operating_systems = [];
+    angular.forEach($scope.osList, function (os) {
+      os.OperatingSystems.ambari_managed_repositories = 
!$scope.useRedhatSatellite;
+      if (os.selected) {
+        $scope.updateObj.operating_systems.push(os);
+      }
+    });
 
     var skip = $scope.skipValidation || $scope.useRedhatSatellite;
     return Stack.validateBaseUrls(skip, $scope.osList, 
$scope.upgradeStack).then(function (invalidUrls) {

Reply via email to