ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject [5/6] ambari git commit: AMBARI-10138. ServiceActions/RunServiceCheck is disabled for clients(Sqoop, Pig...) (alexantonenko)
Date Thu, 19 Mar 2015 23:41:27 GMT
AMBARI-10138. ServiceActions/RunServiceCheck is disabled for clients(Sqoop,Pig...) (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a35d9295
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a35d9295
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a35d9295

Branch: refs/heads/trunk
Commit: a35d9295af61e447489a74eff0cf4747f4c4b28c
Parents: e093598
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Thu Mar 19 23:16:54 2015 +0200
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Fri Mar 20 01:40:59 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/models/host_component.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a35d9295/ambari-web/app/models/host_component.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/host_component.js b/ambari-web/app/models/host_component.js
index f6d7cc0..240f1db 100644
--- a/ambari-web/app/models/host_component.js
+++ b/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',


Mime
View raw message