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:25:38 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.0 d0810b795 -> e6da9fe5a


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/e6da9fe5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e6da9fe5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e6da9fe5

Branch: refs/heads/branch-1.6.0
Commit: e6da9fe5a33ce3abd8fe382fa30098c85b0e61b7
Parents: d0810b7
Author: Xi Wang <xiwang@apache.org>
Authored: Tue May 13 14:06:23 2014 -0700
Committer: Xi Wang <xiwang@apache.org>
Committed: Tue May 13 14:06:23 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/e6da9fe5/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