Explorar o código

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

Alex Antonenko %!s(int64=10) %!d(string=hai) anos
pai
achega
a35d9295af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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',