ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiw...@apache.org
Subject git commit: AMBARI-5752. Cluster tab should not show debian repo URL.(xiwang)
Date Tue, 13 May 2014 21:32:12 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 8394825be -> f96b9ca1a


AMBARI-5752. Cluster tab should not show debian repo URL.(xiwang)


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

Branch: refs/heads/trunk
Commit: f96b9ca1a135faa5012d5e29b5b6873e06e2ac6c
Parents: 8394825
Author: Xi Wang <xiwang@apache.org>
Authored: Tue May 13 14:15:54 2014 -0700
Committer: Xi Wang <xiwang@apache.org>
Committed: Tue May 13 14:29:43 2014 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/main/admin/cluster.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f96b9ca1/ambari-web/app/controllers/main/admin/cluster.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/cluster.js b/ambari-web/app/controllers/main/admin/cluster.js
index b7f7cd4..d65c4cb 100644
--- a/ambari-web/app/controllers/main/admin/cluster.js
+++ b/ambari-web/app/controllers/main/admin/cluster.js
@@ -91,6 +91,7 @@ App.MainAdminClusterController = Em.Controller.extend({
   loadRepositoriesSuccessCallback: function (data) {
     var allRepos = [];
     data.items.forEach(function(os) {
+      if (!App.supports.ubuntu && os.OperatingSystems.os_type == 'debian12') return;
// @todo: remove after Ubuntu support confirmation
       var repo = Em.Object.create({
         baseUrl: os.repositories[0].Repositories.base_url,
         osType: os.repositories[0].Repositories.os_type


Mime
View raw message