소스 검색

AMBARI-5235. Add component of clients in Ambari doesn't work in a secured cluster. (jaimin)

Jaimin Jetly 11 년 전
부모
커밋
65106ab5ae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ambari-web/app/controllers/main/host/details.js

+ 1 - 1
ambari-web/app/controllers/main/host/details.js

@@ -394,7 +394,7 @@ App.MainHostDetailsController = Em.Controller.extend({
       }, Em.I18n.t('hosts.host.addComponent.addZooKeeper'));
       }, Em.I18n.t('hosts.host.addComponent.addZooKeeper'));
     }
     }
     else {
     else {
-      if (securityEnabled) {
+      if (securityEnabled && component.get('componentName') !== 'CLIENTS') {
         App.showConfirmationPopup(function() {
         App.showConfirmationPopup(function() {
           self.primary(component);
           self.primary(component);
         }, Em.I18n.t('hosts.host.addComponent.securityNote').format(componentName,self.get('content.hostName')));
         }, Em.I18n.t('hosts.host.addComponent.securityNote').format(componentName,self.get('content.hostName')));