Преглед на файлове

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',