瀏覽代碼

AMBARI-10138. ServiceActions/RunServiceCheck is disabled for clients(Sqoop,Pig...) (alexantonenko)

Alex Antonenko 10 年之前
父節點
當前提交
a35d9295af
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ambari-web/app/models/host_component.js

+ 1 - 1
ambari-web/app/models/host_component.js

@@ -239,7 +239,7 @@ App.HostComponentActionMap = {
         action: 'runSmokeTest',
         label: Em.I18n.t('services.service.actions.run.smoke'),
         cssClass: 'icon-thumbs-up-alt',
-        disabled: ctx.get('controller.isStopDisabled')
+        disabled: ctx.get('controller.isClientsOnlyService') ? false : ctx.get('controller.isStopDisabled')
       },
       REFRESH_CONFIGS: {
         action: 'refreshConfigs',