AMBARI-9634. Custom command for Kerberos client should not display in UI (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c337b6ea Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c337b6ea Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c337b6ea Branch: refs/heads/trunk Commit: c337b6ea5c740fcf3c0d88ac4bcf9d744273ee26 Parents: 94b3509 Author: Alex Antonenko <hiv...@gmail.com> Authored: Fri Feb 13 19:18:34 2015 +0200 Committer: Alex Antonenko <hiv...@gmail.com> Committed: Fri Feb 13 20:03:03 2015 +0200 ---------------------------------------------------------------------- ambari-web/app/views/main/host/summary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/c337b6ea/ambari-web/app/views/main/host/summary.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/main/host/summary.js b/ambari-web/app/views/main/host/summary.js index 72e7a91..92108b8 100644 --- a/ambari-web/app/views/main/host/summary.js +++ b/ambari-web/app/views/main/host/summary.js @@ -306,7 +306,7 @@ App.MainHostSummaryView = Em.View.extend({ * Get clients with custom commands */ clientsWithCustomCommands: function() { - var clients = this.get('clients'); + var clients = this.get('clients').rejectProperty('componentName', 'KERBEROS_CLIENT'); var options = []; var clientWithCommands; clients.forEach(function(client) {